
AMDG Edward Grace wrote:
Since I'm trying to Boostify (is that a legitimate word now? - heck you can verb anything these days) my code, I decided to try bjam:
Gulp, having been weaned on automake and fiends [sic] it looks like it should be easy enough, but I've fallen at the first hurdle:
In Jamroot: using gcc : 4.4 : g++-4 ; exe example_basic : example_basic.cpp : <include>. ;
The <include>. line, as I understand it will mean the #include <blah> that I use will pick up stuff in the same directory as the source file (this seems ok).
My problem is the link stage,
$ bjam example_basic ...found 53 targets... ...updating 1 target... gcc.link bin/gcc-4.4/debug/example_basic /usr/bin/ld: unknown flag: --start-group collect2: ld returned 1 exit status
"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? In Christ, Steven Watanabe