17 Jul
2007
17 Jul
'07
7:58 p.m.
Yeah, you're right: g++ <objs> -Wl,-Bstatic,-lboost_filesystem-s -Wl,-Bstatic,-lboost_program_options-s -Wl,-Bstatic,-lboost_regex-s -Wl,-Bdynamic -o prog seems to work. Note that you need that -Wl,-Bdynamic there, otherwise ld starts to look for lgcc_S.
Well, it's not the most noob-friendly text, but it gives all the ideas, thanks. niko