|
Boost Users : |
Subject: Re: [Boost-users] statically linked boost libs with VS2010 missing ?
From: Lemay.Steve (Steve.Lemay_at_[hidden])
Date: 2012-08-08 11:45:54
Here's what I trying below (as a first time Boost advocate). I need Boost 1.50 libraries for use with VS2010/12 (Win64) and gcc 4.4.2/4.63 (QNX). I am trying to create static library with position independent code to be linked with executable and shared objects/libraries too. Am I heading the wrong direction? Any suggestions/criticisms?
(I'm having issues compiling MPI with qcc currently and why it is turned off in the build).
For MSVS:
bjam -a -q -j4 --prefix=%DRIVE%\boostVS2010 --build-type=minimal --build-dir=%DRIVE%\boostBuild_VS2010_%BOOSTVER% toolset=msvc --variant=release link=static threading=multi runtime-link=shared --without-python --without-mpi install >build.log 2>&1
For QCC:
bjam -a -q -j4 --prefix=%DRIVE%\boost --build-type=minimal --build-dir=%DRIVE%\boostBuild_QCC_%BOOSTVER% --layout=system toolset=qcc target-os=qnxnto threadapi=pthread --variant=release link=static threading=multi runtime-link=shared cxxflags="-DFD_SETSIZE=2048 -march=pentium3 -mtune=k8-sse3 -mmmx -msse -mfpmath=sse -mstackrealign -Wc,-fPIC,-std=c++0x,-std=gnu++0x" --without-python --without-mpi install >build.log 2>&1
Boost newbie,
SGL
-----Original Message-----
From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Armin Pies
Sent: Tuesday, August 07, 2012 11:49 PM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] statically linked boost libs with VS2010 missing ?
You might try
b2 link=static runtime-link=static
Regards
Armin
-----Ursprüngliche Nachricht-----
Von: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] Im Auftrag von trevor_at_[hidden]
Gesendet: Mittwoch, 8. August 2012 02:22
An: boost-users_at_[hidden]
Betreff: [Boost-users] statically linked boost libs with VS2010 missing ?
Hi all,
I'm new to boost, and I'm trying to compile a windows console app statically so the end user doesn't need vcredist.
I've changed my code generation options to use /mt (static
multithreaded) instead of dynamic multithreaded, but the linker cannot find any libs with libboost*-sgd*.lib (ie.any static boost libs), and they certainly don't exist on my computer. I've performed a --clean-all and recompiled boost using "b2 link=static", but the libs are still missing, even though the compile seems to work fine - and the generated libs are actually following the dynamic naming convention, not the static convention.
Is this some MSVC toolchain issue ? Is there another option I need to be using for this toolchain ?
thanks
Trevor.
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________
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