cross build for OS lion

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Mon Oct 10 20:48:00 GMT 2011


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
issue.

Regards,
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  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list