Mojca Miklavec wrote: <snip> > * How should I compile the application, so that the binary will work > on a Mac (Tiger) out-of-the box: without fink (and corresponding > libraries) being istalled and on both Intel and PPC?
I think you've got what you needed already, but I just came across your post after having just read the following one on gnupg.users (I'm catching up on my newsreading). Perhaps it will be helpful (although the quotes are a little screwy due to cutting and pasting). --rtw [ps. I agree with the spirit of Martin's comments.] > On Mon, Nov 20, 2006 at 03:58:39PM -0700, Joseph Oreste Bruni wrote: >> > >> > On Nov 16, 2006, at 1:43 PM, Werner Koch wrote: >> > >>> > >On Tue, 14 Nov 2006 22:42, [EMAIL PROTECTED] said: >>> > > >>>> > >>failing with compiling libgpg-error-1.4. >>>> > >>./configure works but when I run make the following error is >>>> > >>displayed and make fails: >>> > > >>> > >Sorry, I have no experience with MAx OS X and its fat binaries. >>> > >Without a testing box at hand it is hadr to guess the problem. >>> > > >>> > >Given that Mac OS X is a Unix system we will add patches if required. >>> > > >>> > > >>> > >Salam-Shalom, >>> > > >>> > > Werner >> > >> > Building a universal binary is as easy as specifying "-arch ppc -arch >> > i386" to both the compile and link phases. GCC takes care of the >> > rest. If the -arch is not specified, it will default to building only >> > for the architecture of the host. > > That's generally true for most programs, but crypto programs in > particular tend to be different. Crypto very often contains > endian-specific code for performance reasons, and thus someone > building a fat binary needs to take care they don't end up with big > endian code on an Intel Mac, or little endian code on a PPC Mac. > GnuPG (at least 1.4.x) can be built "fat", and there are special > options in configure to handle the endianness issue (see the README > file). > > Still, the original problem reported with libgpg-error-1.4 is not > related to building fat or not. The package doesn't yet compile at > all. > > David Shaw <[EMAIL PROTECTED]> ------------------------------------------------------------------------- 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-beginners mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-beginners
