You also need CFLAGS="-arch x86_64", there are some .c files in fltk.
On Thu, Feb 18, 2010 at 12:26 PM, Christian Convey < [email protected]> wrote: > 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: > > Compiling xutf8/utf8Utils.c... > Compiling xutf8/utf8Wrap.c... > /usr/bin/ar cr ../lib/libfltk.a ... > ranlib: archive member: ../lib/libfltk.a(fl_call_main.o) cputype (7) does > not match previous archive members cputype (16777223) (all members must > match) > ranlib: archive member: ../lib/libfltk.a(flstring.o) cputype (7) does not > match previous archive members cputype (16777223) (all members must match) > ranlib: archive member: ../lib/libfltk.a(scandir.o) cputype (7) does not > match previous archive members cputype (16777223) (all members must match) > ranlib: archive member: ../lib/libfltk.a(numericsort.o) cputype (7) does > not match previous archive members cputype (16777223) (all members must > match) > ranlib: archive member: ../lib/libfltk.a(vsnprintf.o) cputype (7) does not > match previous archive members cputype (16777223) (all members must match) > > _______________________________________________ > fltk mailing list > [email protected] > http://lists.easysw.com/mailman/listinfo/fltk > _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

