> > Does that mean it is working now?
> 
>       Quite the opposite :)
>       It doesn't matter how library is constructed. Either 
> with indexes or not.
> Maybe, the combination of cross-tools aren't correct - cegcc, 
> plus fltk (with cygwin),
> who knows.

Oh. Too bad.

>       export CC=/usr/ppc/arm-wince-mingw32ce/bin/gcc
>       export CXX=/usr/ppc/arm-wince-mingw32ce/bin/g++
>       ./configure --enable-cygwin
> 
>       # make install

I'm not sure that the fltk configure will honour the cross-compilation
like this... The few times I have built fltk to cross-compile (and never
for wince) I have done it by creating my own config.h and makeinclude
file by hand (by editing a "known good" version for another target.)
Perhaps you will have to do the same.


>       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.
That can't be right, I think.
Looks like you will need to edit makeinclude to set the paths up
correctly, and to make sure the correct (i.e. the cross-compiler, not
the local host) versions of the tools and binutils get called.
Also, in general, I would call g++ rather than gcc for a C++ target, and
drop the -lsupc++ from my command line.


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

Reply via email to