Patches for crosscompiling on Mac OS X

Geoffrey Lee geoffl@gmail.com
Tue Nov 9 18:22:00 GMT 2010


Hi Yann, Titus, all,

On 2010/11/02, at 1:02, Yann E. MORIN wrote:

> Geoffrey, Titus, All,
> 
> On Monday 01 November 2010 15:28:27 Geoffrey Lee wrote:
>> I think I got it. Setting LANG=C made it work. It seems to me there's no
>> reason to keep the user locale settings, I think it is more trouble than
>> it is worth.  Can we reset them on ct-ng invocation?
> 
> Crosstool-NG already overides LC_ALL=C, unless you set:
>  Paths and misc options  --->
>  [*] Try features marked as EXPERIMENTAL
>  [*] Debug crosstool-NG
>  [ ]   Do *not* overide LC_MESSAGES
> 
> But LANG is not touched. Care to test with the attached patch, please? And
> if you can manage to test before tonight GMT+1, then it can go in the next
> stable 1.9.0. :-)
> 


So, I finally managed to get some time to rebuild the toolchain.

(1) This patch fixes the Linux kernel header issue, thanks!
(2) glibc rtld problem is gone, sed problem is gone, I must have done something dodgy.
(3) I re-jigged the configuration and I've disabled the static libstdc++ linking to avoid the static 
linking issue on Darwin.  Maybe better than it breaking as it currently does is to hide the config
option when the build host is Darwin.

In conclusion (2) is moot while (1) can be addressed by applying ct-ng.overide-LANG.patch
(3) can be avoided but would be better if it were a bit more fool-proof.

> Regards,
> Yann E. MORIN.

	-gl

> 
> -- 
> .-----------------.--------------------.------------------.--------------------.
> |  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.  |
> '------------------------------^-------^------------------^--------------------'
> <ct-ng.overide-LANG.patch>


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



More information about the crossgcc mailing list