[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] OSX 10.6 workarounds
From: |
Tony Theodore |
Subject: |
Re: [Mingw-cross-env-list] OSX 10.6 workarounds |
Date: |
Thu, 12 Nov 2009 08:42:41 +1100 |
2009/11/11 Volker Grabsch <address@hidden>:
> Tony Theodore <address@hidden> schrieb:
>> http://trac.macports.org/browser/trunk/dports/devel/binutils/Portfile
>> http://trac.macports.org/browser/trunk/dports/lang/gcc44/files/Make-lang.in.diff
>>
>> and testing different compilers, I've been able to get a successful
>> build on OSX 10.6. Attached diff is against 539:09107000dd04.
>
> Great!
>
>> To change compilers (the easy way):
>> sudo port install gcc_select
>> sudo gcc_select gcc40
>
> Okay, this will go into the docs as soon as we have MacOS 10.6
> support.
>
>> I haven't yet tested this on other systems. I'm fairly sure the
>> binutils change won't affect anything,
>
> I agree.
>
>> but wouldn't know how to ensure
>> the other change doesn't silently break things.
>
> Maybe the patch is not needed? What happens to the GCC build
> if you leave it out and just fix Binutils? What error messages
> to you get?
Without the patch, gcc fails with this error:
ld: duplicate symbol _init_inline_once in libbackend.a(tree-inline.o)
and tree-inline.o
It seems to be more related to ld being overly strict, and is only
required for gcc-4.4.0 - it's fixed in later versions.
Tony