I wanted to discuss how "multilib" builds should be handled in Fink. To the best of my knowledge, we don't have any of these yet, but I understand that one is about to be added.
This is a very small hint about this in the Packaging Manual, in the Shared Libraries section. There, we document the new, optional, 4th item in a Shlibs entry, and indicate that its value can be "32", "64", or "32-64". The last option refers to libraries which were built "fat". I've discussed 64-bit only libraries in previous posts (which have now been incorporated into the documentation). Here, I want to explain the strategy for "fat" libraries. Following the conventions established by (apple's) gcc, we will store 64-bit-only libraries in either /sw/lib/ppc64 or /sw/lib/x86_64 (depending on processor), but we will store *both* the 32-bit-only libraries and the "fat" libraries in /sw/lib. The recommended search path, when doing a 64-bit compile, will be "-L/sw/lib/x86_64 -L/sw/ lib" (or "-L /sw/lib/ppc64 -L/sw/lib") which will find the 64-bit- only lib before the 32-bit-only counterpart, but then will find a "fat" lib in /sw/lib. There are other choices which could have been made, but this is the one which gcc expects to find, so using it will make our lives easier in the long run. If a package is compiling a library using the multilib option (and producing a 'fat' result), it should do so on *all* machines, not just 64 bit ones. The reasoning here is that we want a fink package to be identical no matter where it is created, and hopefully there is not a huge overhead in building it 'fat' on all machines. Questions or discussion are welcome. -- Dave ------------------------------------------------------------------------- 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