
On 23 Aug 2009, at 15:27, Steven Watanabe wrote:
AMDG
Edward Grace wrote:
[snip]
"g++-4" -o "bin/gcc-4.4/debug/example_basic" -Wl,--start-group "bin/gcc-4.4/debug/example_basic.o" -Wl,-Bstatic -Wl,-Bdynamic -Wl,--end-group -g
...failed gcc.link bin/gcc-4.4/debug/example_basic...
I've no idea where all this --start-group stuff comes from -- never seen it before.
What does g++ --version say?
It sayeth various things, the default Apple vended compiler is: $ g++ --version i686-apple-darwin8-g++-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5370) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The one I want to use is: $ g++-4 --version g++-4 (GCC) 4.4.0 Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -ed