26 Feb
2009
26 Feb
'09
3:55 p.m.
Guy LaCrosse wrote:
The gcc34 libraries are the result of building boost 1.38 on Solaris 9.
Ok, I'm blind. Let's try again:
STATIC_LIB_OPT = -Wl,"-Bstatic" BOOST_LIBPATH = -L/export/home/mlacrosse/boost/lib/ -lboost_filesystem-gcc34-mt -lboost_system-gcc34-mt LIBS = $(BOOST_LIBS) $(TNLIBS) $(BASE_LIBS) $(LOCALLIBS) tpg5webapp: tpg5webapp.cpp ConfigFile.cpp $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) $(LIBS) \ -o tpg5webapp ConfigFile.cpp tpg5webapp.cpp
For static linking to work, the -l option must be present *after* the .cpp. - Volodya