|
Boost Users : |
Subject: Re: [Boost-users] problems building with boost filesystem on Solaris 9
From: Guy LaCrosse (mlacrosse3_at_[hidden])
Date: 2009-02-26 11:02:24
Ah, I see. Thanks.
On Thu, Feb 26, 2009 at 9:55 AM, Vladimir Prus <vladimir_at_[hidden]>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_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net