Most Linux open-source packages have some method for building 32-bit libraries on 64-bit platforms. Typically, setting
export CFLAGS=-m32 export CXXFLAGS=-m32 does the trick, possibly along with making sure that 64-bit libraries go to /usr/lib64 or /usr/local/lib64 and 32-bit libraries go to /usr/lib or /usr/local/lib. However, this does not work with fltk 1.1.10 because the build system ignores CFLAGS and CXXFLAGS. It does use ARCHFLAGS, but if you set ARCHFLAGS=-m32, you eventually get Linking fluid... /usr/bin/ld: skipping incompatible ../lib/libfltk_png.a when searching for -lfltk_png /usr/bin/ld: cannot find -lfltk_png I am attempting to build a 32-bit version on Centos 6.0 x8_64. Any ideas? Thanks! _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
