Hi,
--- Quote Start ---
I tried hello,clock,editor of fltk. They all got "SEGV". I noticed that the fltk libs were built static. I wondered if we should try to build them shared.
--- Quote End ---
:confused: I think the 'editor' is using shared libraries.
nios2-wrs-linux-gnu-g++ -Os -Wall -Wunused -Wno-format-y2k -fno-exceptions -fno-strict-aliasing -L/home/kazuyasu/nios2-linux/uClinux-dist/user/microwin/nxlib/fltk-1.1.8rc3/../nxlib-0.45 -mhw-mul -mno-hw-mulx editor.o -o editor ../lib/libfltk_images.a ../lib/libfltk.a -L../lib -lfltk_png -lz -lfltk_jpeg -ldl -lm
Would you please try next command in your NEEK?
/lib/ld.so.1 --list ./editor
Now, I'm trying to debug the dynamic linking process by using GDB.
Kazu