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

Jordan Rose jordan_rose at apple.com
Wed Feb 26 09:15:02 PST 2014


This is not the appropriate help list for Xcode and Apple LLVM builds—please use the forums at https://devforums.apple.com or file a bug at http://bugreport.apple.com. (Yes, I know our reputation for bug reports, but I promise we are looking at them.) That said, I can't think what else to do besides remove the argument.

Jordan


On Feb 26, 2014, at 7:49 , Laurent Rathle <lrathle at madonie.org> wrote:

> 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
> _______________________________________________
> cfe-users mailing list
> cfe-users at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users

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


More information about the cfe-users mailing list