This is the mail archive of the mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cross build for OS lion

Peica, All,

On Thursday 06 October 2011 19:09:15 Peica wrote:
> I have make a patch for crosstool-NG cross building from OS Lion via
> MacPort GCC.  If I use the default one, it could stop the building
> because the script set the Xcode gcc as C_HOST and it would make a
> internal compiler error when calling my target compiler.

The patch is almost unreadable. Please provide a unified patch:
  diff -u

It also seems the patch is reversed.

Anyway, the patch seems really wrong. Setting the HOST and build prefix to
be the same breaks on canadian-crosses. With a canadian-cross toolchain,
the build machine is where the compiler is _built_, while the host machine
is where the compiler _runs_. And those two machines may be different.

Care to explain what breaks for you? For example, put your entire build.log
file on some website (or a pastebin) where we can get it to analyse the

Yann E. MORIN.

|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |

For unsubscribe information see

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]