Sam Seaver <samseaver <at> gmail.com> writes:

> 
> So, I'm using OS X 10.9.2, with Xcode 5.1, and I'm trying to 
install xfig, but I came up with a problem in llvm-gcc42:
> 
> ranlib /sw/src/fink.build/llvm-gcc42-2336.11-7/objroot/obj-llvmCore/obj-llvm/
Release+Debug-Asserts/lib/libLLVMCodeGen.a
> make[2]: *** [all] Error 1
> + '[' 2 '!=' 0 ']'
> + echo 'error: LLVM '\''make'\'' failed!'
> error: LLVM 'make' failed!
> 
> + exit 1
> make[1]: *** [llvmCore] Error 1
> make: *** [install] Error 1
> 

Hi,
After seeing the same error, I managed to compile llvm-gcc42 with 
Xcode 5.1 by modifying
/sw/fink/10.7/stable/main/finkinfo/languages/llvm-gcc42.info

I added a clang flag to ignore unused arguments
-Wno-error=unused-command-line-argument-hard-error-in-future

the modification is on line 48, and the diff looks like

48c48
<                CXX="clang++ -pipe -stdlib=libstdc++"  \
---
>                CXX="clang++ -pipe -stdlib=libstdc++ -Wno-error=unused-
command-line-argument-hard-error-in-future"  \

I hope this can help!

Ben



------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to