Greg Ercolano wrote: > ----------------------------------------------------------------------------- > % file test/editor > test/editor: Mach-O executable i386 > -----------------------------------------------------------------------------
To solve the above, I added the following to Jane's configure command: LDFLAGS="-arch i386 -arch ppc -mmacosx-version-min=10.4" ..and now Snow Leopard built universal intel/ppc bins for FLTK 1.3.x's demos: % file test/editor test/editor: Mach-O universal binary with 2 architectures test/editor (for architecture i386): Mach-O executable i386 test/editor (for architecture ppc): Mach-O executable ppc Here's Jane's configure line with the LDFLAGS added, which works for me: ./configure \ CC=/Developer/usr/bin/gcc-4.0 \ CXX=/Developer/usr/bin/g++-4.0 \ CFLAGS="-arch i386 -arch ppc -mmacosx-version-min=10.4 -O3" \ CXXFLAGS="-arch i386 -arch ppc -mmacosx-version-min=10.4 -O3" \ LDFLAGS="-arch i386 -arch ppc -mmacosx-version-min=10.4" \ --enable-threads --enable-localjpeg --enable-localzlib --enable-localpng \ --enable-quartz --enable-gl=no _______________________________________________ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev