This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: darwin cross compiling breakage
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: mrs at apple dot com (Mike Stump)
- Cc: geoffk at apple dot com (Geoffrey Keating), mark at codesourcery dot com (Mark Mitchell), stevenb dot gcc at gmail dot com (Steven Bosscher), gcc-patches at gcc dot gnu dot org, ian at airs dot com (Ian Lance Taylor), pinskia at physics dot uc dot edu (Andrew Pinski)
- Date: Mon, 12 Jun 2006 12:50:55 -0400 (EDT)
- Subject: Re: darwin cross compiling breakage
>
> On Jun 12, 2006, at 8:13 AM, Andrew Pinski wrote:
> >> That solution is uninteresting, as I don't think it works.
> >> Shantonu, did you test the result without modifying your PATH?
> >
> > You need that right now even with your change or Shantonu's.
>
> If you think I need it, please explain the command that you think
> won't work, and I will run it and see if you are correct. I have a
> feeling that it actually works. It appears to work just fine for me:
>
> mrs $ gcc-4.2 -arch i386 t.c -c
> mrs $
>
> but maybe I missed something?
Yes this is not really a cross but a fake cross.
Apple has other local changes to "fix" up the use of as/ld/ar/ranlib.
-- Pinski