[cfe-dev] Bug with -O4
Matthieu CASTET
castet.matthieu at free.fr
Wed Apr 29 13:19:57 PDT 2009
Chris Lattner <clattner at ...> writes:
>
> What OS are you developing on? If you're on the mac, or if you use
> the new Binutils "gold" linker for linux, you might have a solution.
> Otherwise, the fix is "don't do that".
>
Why llvm-ld isn't enough ?
After some basic test caaling llvm-ld (instead of gcc) with the transformation
(sed -e "s/-Wl,/-Xlinker=/g" -e "s/-l/-l=/g") seems to produce working output.
Why clang can't be a wrapper around llvm-ld ?
Matthieu
More information about the cfe-dev
mailing list