Ah, I see. Thanks.

On Thu, Feb 26, 2009 at 9:55 AM, Vladimir Prus <vladimir@codesourcery.com> wrote:
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



_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users