tech-toolchain archive

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

Re: Clang vs. GCC arm



On Mon, Jan 02, 2017 at 07:56:58PM -0800, Michael Plass wrote:
> On Jan 1, 2017, at 7:15 PM, Lloyd Parkes <lloyd%must-have-coffee.gen.nz@localhost> wrote:
> > 
> > As things stand right now, the ARM toolchain cannot be cross compiled from macOS because a bit of machine generated code inside GCC ends up with more nested parentheses than the standards recommend
> 
> A workaround for this is to
> 
> export HOST_CXXFLAGS=-fbracket-depth=512
> 
> before running build.sh.

Please don't forget to include -O2, you will see a seriously slow cross
compiler otherwise...

Joerg


Home | Main Index | Thread Index | Old Index