[cfe-users] Program build fails on Mac OS X 10.9.2 with clang error message

Laurent Rathle lrathle at madonie.org
Wed Feb 26 07:49:42 PST 2014


Hello,

I’m building a program on my Mac with Mac Os X 10.9.2, and Xcode 5.0.2. As compiler, I use Apple LLVM 5.0, Architecture is i386, and base SDK is 0S X 10.6. When I launch the build, I get the following error message, and the build fails :

clang: error: argument unused during compilation: '-mlong-branch'
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

What should I do to avoid this error ? Find this argument and remove it everywhere I find it ?

Thank you

-- 
Laurent Rathle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20140226/dbc615ab/attachment.html>


More information about the cfe-users mailing list