On Thu, May 17, 2012 at 07:41:26AM -0700, Alexander Hansen wrote: > On 5/17/12 7:35 AM, Real Darkman wrote: > > > > > > ------------------------------------------------------------------------ > > *Von:* Alexander Hansen <alexanderk.han...@gmail.com> > > *An:* Real Darkman <realdarkma...@yahoo.de> > > *CC:* "fink-users@lists.sourceforge.net" > > <fink-users@lists.sourceforge.net>; Jack Howarth <howa...@bromo.med.uc.edu> > > *Gesendet:* 16:30 Donnerstag, 17.Mai 2012 > > *Betreff:* Re: [Fink-users] gcc47: unknown option "-arch" > > > > On 5/17/12 5:06 AM, Real Darkman wrote: > >> Hi all, > >> > >> I installed fink on my iMac G5 (OS X 10.5 ppc) from source and gcc47, > >> all good. But by compiling my app I get this error: > >> > >> g++: Error: Unknown option >>-arch<< > >> > >> I compiled with "-arch ppc -arch i386" for an universal binary! If this > >> option not present in gcc 4.7 or what's wrong? > >> > >> Thx! > >> Chris > >> > >> > > > > "Unknown option" indicates that -arch isn't present. > > > > Ok, but what can I do? I need the "-arch" option! > > Email the gcc47 maintainer (cc'ed) to ask why it's not available and how > to enable it, assuming that's even possible. > > Or use Apple's compilers, which know about -arch.
The FSF gcc compilers have never supported -arch. They have also never supported fat builds which would support multiple processor architectures. Users just have to use -m32 for i386 code and -m64 for x86_64 code on intel darwin. > -- > Alexander Hansen, Ph.D. > Fink User Liaison > http://finkakh.wordpress.com/2012/02/21/got-job/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users