|
Boost Users : |
Subject: Re: [Boost-users] How to build only these binaries?
From: Sachin Garg (schngrg_at_[hidden])
Date: 2008-10-03 13:42:30
Thanks, I can use a little more help on understanding the --help output :)
My understanding of --help output is that,
For getting both release and debug static windows binaries (with /MT)
I need to do
release debug link=static runtime-link=static
And for linux/mac build, I should be using
release debug link=static runtime-link=shared
(Because, IMHO, on linux the c++ runtime shouldn't be linked
statically, right? And I am guessing Mac works a bit like linux).
Is it ok to specify both debug and release like that? And I am
assuming that threading=multi is the default, so doesn't needs to be
specified. And is my syntax correct, because the --help output says
"<link>static" etc and I am not sure what this syntax means.
My complete command line will look like, on windows,
bjam release debug link=static runtime-link=static
--stagedir=".\win_x86" stage
My apologies if I am sounding stupid, but do let me know if I am
missing something.
Thanks again.
On Fri, Oct 3, 2008 at 10:16 PM, Terdale, Shantibhushan
<STerdale_at_[hidden]> wrote:
> Oh well and use --help to get more....
>
> -----Original Message-----
> From: boost-users-bounces_at_[hidden]
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Sachin Garg
> Sent: Friday, October 03, 2008 12:32 PM
> To: boost-users_at_[hidden]
> Subject: [Boost-users] How to build only these binaries?
>
> I want to only build both debug and release statically linked binaries.
> What are the build options to build just these on windows, linux and
> mac?
>
> To clarify, binaries which would link directly inside my executable (the
> libs that won't need any dll or so). On windows I am using /MT in my
> projects, so the libs should also statically link to msvc runtime.
>
> When using --build-type=complete it generates 5GB of binaries, which for
> 32-bit and 64-bit on windows, mac and linux together ends up taking a
> lot more space than I can afford.
> _______________________________________________
> 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