
This is for my PowerPC Tiger Mac system. I've installed GCC 4.7 fromMacPorts on it. I have it set in C++11 mode.
Yesterday, I wrote on the list that I couldn't get the example file torun in my new trial project. (It's athttps://github.com/CTMacUser/Unionize.) As soon as I added acompile-fail test and the corresponding line to Jamfile, everything worked!
Sort of. The compile-fail test fails as expected (at compile-time).The example file still doesn't run due to a linking error I've seen before:
//========================================[daryle@daryle-walkers-emac:test]$ b2 toolset=gcc-4.7...found 30 targets......updating 14 targets...common.mkdir bincommon.mkdir bin/super_union_basics.testcommon.mkdir bin/super_union_basics.test/gcc-4.7common.mkdir bin/super_union_basics.test/gcc-4.7/debuggcc.compile.c++ bin/super_union_basics.test/gcc-4.7/debug/super_union_basics.ogcc.link bin/super_union_basics.test/gcc-4.7/debug/super_union_basicsld: unknown option: --start-groupcollect2: error: ld returned 1 exit status
"g++-mp-4.7" -o "bin/super_union_basics.test/gcc-4.7/debug/super_union_basics" -Wl,--start-group "bin/super_union_basics.test/gcc-4.7/debug/super_union_basics.o" -Wl,-Bstatic -Wl,-Bdynamic -Wl,--end-group -g
...failed gcc.link bin/super_union_basics.test/gcc-4.7/debug/super_union_basics......skipped