Does gcc45 support -arch?

Brandon Allbery allbery.b at gmail.com
Sat Dec 17 22:23:49 PST 2011


On Sun, Dec 18, 2011 at 01:02, Ryan Schmidt <ryandesign at macports.org> wrote:

> On Dec 17, 2011, at 23:53, Brandon Allbery wrote:
> > The problem is, they're expecting you to have Apple's compiler as the
> default.  Other compilers do not support -arch, nor can they build for
> multiple architectures simultaneously as this package is trying to do.
> >
> > One way to work around this is to temporarily put /usr/bin at the start
> of your $PATH while building this package (e.g. "PATH=/usr/bin:$PATH make").
>
> ...that will make it use Apple's gcc, right? I thought the goal of the
> exercise was to compile the program with gcc45.
>

That may be the objective, but since it's passing "-arch i386 -arch
x86_64", that's likely to be a rather tall order.

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20111218/46f6fc9d/attachment.html>


More information about the macports-users mailing list