I've made some quick and dirty hacks to make fltk-2.0.x-r5528 source tree 
compile with CEGCC [1].
However, there's a linking problem. In my example, 

CC=/usr/ppc/arm-wince-mingw32ce/bin/gcc
CXX=/usr/ppc/arm-wince-mingw32ce/bin/g++
AR used - /usr/ppc/arm-wince-mingw32ce/bin/ar

        I double checked, and made libfltk2.a to contain symbols as well (ar 
crs libname ...).
        The same thing happens.

How to solve this puzzle?

Thanks.

=== making OpenGL ===
Compiling Fl_Gl_Choice.cxx...
Compiling Fl_Gl_Overlay.cxx...
Compiling Fl_Gl_Window.cxx...
Compiling gl_draw.cxx...
Compiling gl_start.cxx...
/usr/bin/ar cr ../lib/libfltk2_gl.a ...
=== making glut ===
Compiling glut_compatability.cxx...
Compiling glut_font.cxx...
=== making test ===
Compiling arc.cxx...
Linking arc.exe...
../lib/libfltk2.a: could not read symbols: Archive has no index; run ranlib to 
add one
collect2: ld returned 1 exit status
make[1]: *** [arc.exe] Error 1
make: *** [all] Error 2

[1] http://downloads.sourceforge.net/cegcc/cegcc-0.10-1.i586.rpm

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to