[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gcc-4.6 and "-arch x86-64"
From: |
Ben Abbott |
Subject: |
Re: gcc-4.6 and "-arch x86-64" |
Date: |
Fri, 16 Dec 2011 15:37:39 -0500 |
On Dec 16, 2011, at 3:15 PM, Alexander Hansen wrote:
> On 12/16/11 1:42 PM, Ben Abbott wrote:
>
>> I tried building Octave using gcc 4.6. Linking liboctinterp ended
>> with ...
>>
>> g++-mp-4.6: error: x86_64: No such file or directory g++-mp-4.6:
>> error: unrecognized option '-arch' make[3]: *** [liboctinterp.la]
>> Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive]
>> Error 1 make: *** [all] Error 2
>>
>> Is anyone using gcc-4.6 to build octave? Did anyone encounter this
>> error ?
>>
>> Ben
>
> (Assuming you're on OS X)
>
> The gcc-4.6 we use in Fink doesn't accept the -arch option, so "-arch
> x86_64" isn't valid. That could well be the case for the one that
> you're using.
>
I'm currently using MacPorts, but it looks like the same problem.
Should "-arch x86-64" just be removed or should it be replaced by another
option?
Ben