[cfe-dev] RFC: Clang driver redesign

Joerg Sonnenberger joerg at britannica.bec.de
Fri Nov 4 04:48:50 PDT 2011


On Fri, Nov 04, 2011 at 11:45:53AM -0000, James Molloy wrote:
> Actually I'm not referring explicitly to Linux - the use case that springs
> most to mind is our own, which is cross-compiling for baremetal ARM targets.
> 
> I have to use -ccc-host-triple arm-freebsd-eabi because otherwise the driver
> attempts to autoconfigure from the host GCC (freebsd uses as and ld directly
> and happens (!!) to default to looking in the current directory first).

Just make sure you have arm-freebsd-eabi-{as,ld} around in PATH and be
done.

Joerg



More information about the cfe-dev mailing list