Richard Pennington
2013-Dec-16 21:11 UTC
[LLVMdev] Cross building clang/LLVM for Linux/ARM on a Mac
Hi, I'm using a Mac build of my clang/LLVM based tool chain ELLCC (http://ellcc.org) and attempting to cross build itself for ARM/Linux. I get the following error: llvm[3]: (build tools): Linking Release+Asserts executable llvm-tblgen (whithout symbols) ld: unknown option: --version-script=/Users/rich/ellcc/llvm/autoconf/ExportMap.map clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [/Users/rich/ellcc/llvm-build-arm-linux/BuildTools/Release+Asserts/bin/llvm-tblgen] Error 1 make[2]: *** [TableGen/.makeall] Error 2 make[1]: *** [all] Error 1 make: *** [cross-compile-build-tools] Error 1 It looks to me like the Apple ld doesn't like --version-script. How are the make rules (or configure) deciding to use --version-script, and what should I do to change their mind? -Rich
Reasonably Related Threads
- Error cross building LLVM for MinGW
- [LLVMdev] How do I disable --version-script when cross compiling clang/LLVM on a Mac?
- [LLVMdev] RFC: Another go at a cross compiler config file.
- [LLVMdev] Can libc++ build for arm cross compiler?
- [LLVMdev] RFC: Another go at a cross compiler config file.