Aaron Magill wrote:
> Properties on the hard drive show it to be Mac OS Extended  
> (Journaled), which I believe is the HFS+ you refer to and it is in  
> fact case-insensitive (which bit me a while back when I copied over  
> some files from a linux system to work on them locally, but I  
> digress...)

OK, my theory was nonsense. In fact, on 10.6 I get the same failure as 
you. The cause is that gcc, when applied to a file with the extension 
.cpp, acts indeed as C++ compiler, but in the linker phase forget that 
it is C++ and does not link with libstdc++. On gcc-4.2, this breaks even 
the most basic program such as the one tried by configure, which does 
not contain specific C++ code. On gcc-4.0.1 (hence on MacOSX 10.5), it 
fails only for more complex programs, so that the problem does not show 
up in gmm's configure phase on 10.5.

In any case, this looks like a bug in (Apple's version of) gcc that will 
probably lead to failure of further configure scripts on 10.6. The 
workaround is, as you said, to transmit "CXX=g++" explicitly to configure.

-- 
Martin


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to