Trouble with Cortex-M "Hello World"
Jens Bauer via Digitalmars-d
digitalmars-d at puremagic.com
Fri Apr 3 09:47:30 PDT 2015
On Friday, 3 April 2015 at 16:39:40 UTC, David Nadlinger wrote:
> On Friday, 3 April 2015 at 15:58:03 UTC, Jens Bauer wrote:
>> Basically because it requires GCC > 4.2 - but unfortunately
>> there's more.
>> Once upon a time, LLVM did support being built with GCC 4.2,
>> but I can't get those sources anymore, so I can't get a
>> 'bootstrap LLVM' that way.
>
> Can't you just bootstrap your way up to a recent GCC first?
Unfortunately, GCC > 4.2 is not patched by Apple.
When Apple suddenly decided to stop using GCC, they withdrew all
patches and made clear to the GCC team that they were not allowed
to use any of those patches.
This causes some problems with building Mach'o binaries, which is
native to Mac/PPC.
It also causes incompatibilities regarding ObjC and poor Xcode
integration (!)
-So it would have been better to get the old clang sources and
build clang that way.
Or perhaps someone with an Intel Mac could build clang for PPC,
heh. ;)
More information about the Digitalmars-d
mailing list