Jim Wilson wrote: > I'm trying to resurrect an old FLTK application, and I have encountered a > weird > problem I'm hoping someone can help with. > > I foolishly moved to 64-bit Linux (Fedora 12/GCC 4.2.2) since my last attempt > to > build *32-bit* FLTK. Still, after: > > ./configure --with-archflags="-m32" > > revision 7050 (the current SVN version) of FLTK 1.1 builds with just the usual > few warnings that GCC insists on emitting these days. > > ./Configure *does* get confused about sizeof(long). It omits the "-m32" from > its gcc test invocation and mistakenly measures 8 bytes. But, I don't *think* > fltk depends on this bogus measurement.
I saw that you solved your problem already, but just for the record: If configure doesn't work as you tried and described above, I often tried something like this successfully: $ CFLAGS="-m32" CXXFLAGS="-m32" CPPFLAGS="-m32" LDFLAGS="-m32" \ ./configure [configure options] i.e. setting all possible *FLAGS env. variables before configure (assuming "-m32" is the correct setting). Maybe this would help in your case, too, but YMMV. Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

