
22 Mar
2010
22 Mar
'10
6:29 p.m.
g++ testprogramoptions.o -static-libgcc -Wl,-Bstatic -L/u/neetug/Projects/performance/perfstat_cluster/lib -lboost_program_options-gcc41-mt -lpthread -o testprogramoptions
This is not the best way to link statically. Did you try just -static option, without -static-libgcc and -Wl,-Bstatic?
Or you could try: -l:libboost_program_options-gcc41- mt