LLVM 3.2 release notes indicating that
llvm-ld and llvm-stub have been removed, llvm-ld functionality can be partially replaced by llvm-link | opt | {llc | as, llc -filetype = obj} | ld or completely replaced by the Clan.
By default, clang seems to use the system builder. For example, Linux uses GNU ld:
$ clang --version clang version 3.2 (branches/release_32 170558) ... $ clang -Wl,--verbose GNU ld (GNU Binutils; devel:gcc / openSUSE_12.3) 2.24.0.20140403-196 ...
This suggests that you can use -Wl, - start-group and -Wl, - end-group, as in GCC.
source share