On 9/28/13 3:15 PM, Sebastiano Padovan wrote:
> I get:
>
>   /sw/var/lib/fink/path-prefix-__10.6/g++ --version
> i686-apple-darwin10-g++-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5494)
> Copyright (C) 2005 Free Software Foundation, Inc.
>
>   /sw/var/lib/fink/path-prefix-__10.6/gcc --version
> i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
> Copyright (C) 2007 Free Software Foundation, Inc.
>

Ah, that accounts for your problem.  Fink expects that the "gcc" and 
"g++" from Xcode 3.2.6 are both from GCC-4.2.1.  GCC-4.0.1 doesn't 
support the -Wno-overlength-strings flag.  I saw tests for that in my 
build, but I guess they only test using gcc and not g++.

Use

        ls -l `which gcc`

  to see what the real executable is--what I had you look at is the 
wrapper which Fink uses.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Fink-users mailing list
[email protected]
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