> > > then compilation test like this > > > > > > [EMAIL PROTECTED]:~/src/fltk-2.0.x-r5528> > > > /usr/ppc/arm-wince-mingw32ce/bin/gcc -I/usr/local/include > > > -I/usr/X11/include -Wno-non-virtual-dtor -o arc test/arc.cxx > > > -L/usr/local/lib /usr/local/lib/libfltk2.a -L/usr/X11/lib > -lsupc++ > > > > > > Hmm, don't like the look of that compile command much at all. > > The include paths look all wrong for a cross-compile > target, as do the > > library paths. > > Because this string is constructed by > '/usr/local/bin/fltk2-config --compile test/arc.cxx' > I've expanded it, to show full libraries list (includes > and libs).
No, what I mean is that you seem to have the wrong include and library paths in your command. If you are cross-compiling a wince build from a non-wince host, then the paths can not be "/usr/local/anything" since that path will pick up the *host* file, not the cross-compile file. Your paths should probably be like "/usr/ppc/arm-wince-mingw32ce/include" and so forth, to get the cross-compile *target* files. That's what I was meaning you to change in makeinclude - to make sure the paths all point at the cross-compile target, and to make sure that makeinclude names the cross-compile tools (e.g. "/usr/ppc/arm-wince-mingw32ce/bin/ld" rather than just "ld", "/usr/ppc/arm-wince-mingw32ce/bin/ar" rather than just "ar", etc...) SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
