[cfe-dev] How to configure clang to use arm-none-eabi linker

Jonathan Roelofs via cfe-dev cfe-dev at lists.llvm.org
Tue Nov 21 08:13:45 PST 2017



On 11/21/17 8:38 AM, Kyriakos Georgiou via cfe-dev wrote:
> I am trying to configure the last version of clang (6.0) to use the 
> arm-none-eabi linker instead of the ld.lld but clang is always ignoring 
> everything and keep asking for the ld.lld one. I am trying to build for 
> cortex-m3 (lpx1769 board). How do I force clang to use the linker I want?
> 
> -fuse-ld=ld is also not working, so does clang no longer allow the use 
> of any other linker?

-fuse-ld=path/to/arm-none-eabi-ld

> 
> Thank you,
> 
> Kyriakos
> 
> 
> 
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
> 

-- 
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded / Siemens


More information about the cfe-dev mailing list