Hi, >> On 16/07/13 00:24, Alexander Hansen wrote: >>> On 7/15/13 3:17 PM, Martin Costabel wrote: >>>> On 15/07/13 18:13, Remi Mommsen wrote: >>>>> Hi, >>>>> >>>>> I try to build gcc47, but fail to build ppl9-0.11.2-4. I don't see any >>>>> obvious problem: >>>>> >>>>> Making all in ppl_lpsol >>>>> Making all in examples >>>>> make[4]: Nothing to be done for `all'. >>>>> gcc -DHAVE_CONFIG_H -I. -I../../../demos/ppl_lpsol -I../.. >>>>> -I../../interfaces/C >>>>> -I/System/Library/Frameworks/JavaVM.framework/Headers >>>>> -I/opt/fink/include -Winvalid-pch -g -O2 -g -O2 -pipe >>>>> -fpch-preprocess -fPIC -W -Wall -MT glpk_set_d_eps.o -MD -MP -MF >>>>> .deps/glpk_set_d_eps.Tpo -c -o glpk_set_d_eps.o >>>>> ../../../demos/ppl_lpsol/glpk_set_d_eps.c >>>>> clang: warning: argument unused during compilation: '-I .' >>>> >>>> Why is your gcc = clang? I have the same OS/xcode as you, but >>>> >>>> % ls -l /usr/bin/gcc >>>> lrwxr-xr-x 1 root wheel 12 Apr 16 10:00 /usr/bin/gcc -> llvm-gcc-4.2 >>>> >>> >>> On 10.7 and later, the 'gcc' that fink normally builds with is >>> /sw/var/lib/fink/path-prefix-clang/gcc, which wraps clang. (cf. 'fink >>> dumpinfo -ePATH ppl9') >> >> Yes, I saw this after sending my message. I was clutching at straws, trying >> to find a compiler that would give this weird warning. I found it now, with >> a >> little help from google <https://bugzilla.mozilla.org/show_bug.cgi?id=717713> >> >> The culprit is ccache. With ccache-default installed, I get the same crash >> as >> Remi. >> >> It seems ppl9 needs a buildconflicts: ccache-default >> >> > On Jul 16, 2013, at 1:21 AM, David Fang <f...@csl.cornell.edu> wrote: > > So which solution is preferred? > CPPFLAGS with -Qunused-arguments > or BConflict: ccache-default > > And should this be applied to 10.7+? > > Fang
Thanks for all the quick replies. I can confirm that both solutions solve the problem. I would prefer the CPPFLAGS approach as it does not interfere with other builds. Cheers, Remi
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________ 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