Dave, The analysis of gcc42 is incorrect. There are no fat binaries created but rather an explicit 64-bit subdirectory. So we have for example...
/sw/lib/gcc4.2/lib/libgfortran.2.0.0.dylib currently in the gcc42-shlibs package and... /sw/lib/gcc4.2/lib/ppc64/libgfortran.2.dylib in the gcc42 package. This compares to how gcc 4.2 installs on x86_64 linux with... /usr/lib/gcc/lib/libgfortran.so.2 and /usr/lib/gcc/lib64/libgfortran.so.2 I believe the Darwin developers avoided using a lib64 directory instead of ppc64 because there was no other example of that on MacOS X. We really do want to move the libraries currently in /sw/lib/gcc4.2/lib/ppc64 from the gcc42 package to the gcc42-shlibs package. Otherwise anything built with -m64 will break when we need to create a gcc43 package later since the gcc4X packages will always conflict but the gcc4X-shlibs will co-exist. The last option sounds right except for the need to use -64bit. This is incorrect since that option should be saved for a package which would be a true 64-bit gcc compiler (ie gcc built with a host of powerpc64-apple-darwin*). Again, there are three ways to currently build gcc 4.2 and later... 1) using host powerpc-apple-darwin* passing --disable-multilib for the stock 32-bit compiler with only 32-bit support libs. 2) using host powerpc-apple-darwin* without --disable-multilib for the stock 32-bit compiler which can compile 64-bit code and provides both 32-bit and 64-bit support libs. 3) using host powerpc64-apple-darwin* (which only works on 64-bit processors) for a 64-bit native compiler which can compile 32-bit code and provides both 64-bit and 32-bit support libs. The third option is highly experimental and not recommended. Jack On Sat, Jan 13, 2007 at 04:26:02AM -0800, David R. Morrison wrote: > > Finally, if (as is the case, according to jfm's analysis of your > package) some of the libraries installed by your package are "fat" > 32-64 bit libraries, they get stored in the same directory as the 32 > bit libraries and their Shlibs entry ends in 32-64. > > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel