> Hi guys,
>
> Does anyone know how I can build FLTK 1.3.x-r7063 as 64-bit code on OS X 10.5?
>
> I've tried this:
>    CXXFLAGS="-arch x86_64" LDFLAGS="-arch x86_64" ./configure
>    make
>
> But when I do that, linking fails with the following (truncated) text:
>  ....

Hi,

Your error is to have neglected that there's also some C code in FLTK
that has also to be compiled to 64 bits.
Instead of changing compiler flags, change compiler names,
and do that for both C++ and C.

The good way is this:
make CC="gcc -arch x86_64" CXX="g++ -arch x86_64"

Presently it crashes in fluid compilation (because someone
neglected that 64-bit compilation exists), but by that time
you'll have your 64-bit libs ready in lib/.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to