Re: Problems building Binutils-2.25

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9 June 2015 at 23:11, Jonathan Wakely wrote:
> On 9 June 2015 at 21:23, Ellis N. Thomas wrote:
>>         Since my hardware remains the same from the time when I built gcc4.7.2 (only the
>> system software has been upgraded), is it possible to build "as" by specifying a target using
>> i386-apple-darwin13.4.0?
>
> I don't think so.
>
> You could try not using your gcc 4.7.2 (since it is configured and
> built for a different OS than the one you're running, which isn't
> likely to work well) and use the toolchain that comes with xtools
> instead.
>
> But I think the problem is that binutils just doesn't support your OS.
> You might just have to use the Apple linker and assembler that come
> with xtools.

Looking back over some IRC logs from a couple of months ago I can
confirm that binutils doesn't work on darwin, you need to use Apple's
"cctools" for the assembler and linker, and you should also use
Apple's compiler (which will be clang these days even if it pretends
to be gcc) not your gcc-4.7.2:

[Tuesday 21 Apr 2015] [09:55:32] <iains>    it should just build
out-of-the-tin (but you can't avoid installing xcode, since that
provides the assembler, linker and boostrap compiler).




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux