
Hi Slava, On Thursday, 24. February 2011 11:32:12 Viatcheslav.Sysoltsev@h-d-gmbh.de wrote:
Here's the command used for linking: /bin/bash ../libtool --tag=CXX --mode=link g++ -Wno-deprecated -g -O2 - lboost_serialization -L/local/cedric/boost_1_45_0/stage/lib -o test test- main.o ../includes/Parser/libparser.a -lgsl -lgslcblas -lm
Hi Cedric,
I did't understand exactly what you meant with 'compiling remotely' (cross-compiling?),
I meant "compiling on a remote machine" by that. Sorry for not being more clear about this. I have only basic user privileges on that machine, so I had to resort to building (not installing) boost-1.45 locally.
but if I don't mistake, you should specify first -L, then -l in command line. If changing order does not help, use binutils to find where the symbols are located. Pay attention as well to linker messages like 'skipping ... due to incompatible format' or something alike if you cross-compile.
-- Slava
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users