You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@stdcxx.apache.org by Mark Brown <mb...@inbox.com> on 2007/02/12 02:26:34 UTC
building Boost with stdcxx
Hi,
I'm wondering if anyone has successfully built Boost with stdcxx. I have no experience with hacking the Boost build system and only very little experience using it. I would appreciate hints for how to set up the compiler to use stdcxx instead of the default standard library. I'm using gcc on Linux and Cygwin.
Many thanks!
Mark
____________________________________________________________
FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family!
Visit http://www.inbox.com/photosharing to find out more!
Re: building Boost with stdcxx
Posted by Nadine Faizant <na...@nautitia.fr>.
Hello Mark,
You are very kind... I found a solution, not very nice, but efficient. I
put the library path in a .bat launch before link because if I use the
STDLIBPATH in the jam files it looks like MSVC lost some library....
Good luck,
Nadine
----- Original Message -----
From: "Mark Brown" <mb...@inbox.com>
To: <st...@incubator.apache.org>
Sent: Tuesday, February 13, 2007 11:20 PM
Subject: Re: building Boost with stdcxx
Starting with one of the .jam files makes sense. For gcc I think
gcc-stlport-tools.jam might be the one to go with. For MSVC I would look at
msvc-stlport-tools.jam. It should be close to what you need for stdcxx as
both replace the compiler's C++ library. I'm afraid I don't have MSVC
istalled so don't have any insight into your error.
Mark
-----Original Message-----
From: nadine.faizant@nautitia.fr
Sent: Tue, 13 Feb 2007 22:22:56 +0100
To: stdcxx-user@incubator.apache.org
Subject: Re: building Boost with stdcxx
Well... i work again on this subject, and understand I was wrong...
I finally do not change Jambase but change vc7-tools.jam to add include and
preprocessors (see atached files). I am now sure that I compile with stdcxx
but face a link error : LINK : error LNK2001: symbole externe non résolu
__DllMainCRTStartup@12 Hope I will find the solution... or perhaps...
you will find it... Nadine ----- Original
Message ----- From: "Mark Brown" <mb...@inbox.com> To:
<st...@incubator.apache.org> Sent: Tuesday, February 13, 2007 7:20 PM
Subject: Re: building Boost with stdcxx
Thanks Nadine. The Jambase file looks intimidating but let me give it a try
and post my findings here.
Mark
> -----Original Message-----
> From: nadine.faizant@nautitia.fr
> Sent: Mon, 12 Feb 2007 09:44:09 +0100
> To: stdcxx-user@incubator.apache.org
> Subject: Re: building Boost with stdcxx
>
>
> Hello,
>
> I just do the same thing this week-end, but using VC8.
>
> It was very hard to pick up info. I try that sucessfully :
>
> Change in boos\tools\build\jam_src\Jambase the c++FLAGS in order to
> add
> include and PREPROCESSOR for your compilor.
> Then lauch build.bat in the same directory (jam_src).
> After that, lauch bjam in boost direcotry with the right -sTOOLS.
>
> Hope this help,
>
> Nadine
>
> PS : i do that with both boost 1.32
>
> ----- Original Message -----
> From: "Mark Brown" <mb...@inbox.com>
> To: <st...@incubator.apache.org>
> Sent: Monday, February 12, 2007 2:26 AM
> Subject: building Boost with stdcxx
>
>
> Hi,
>
> I'm wondering if anyone has successfully built Boost with stdcxx. I have
> no
> experience with hacking the Boost build system and only very little
> experience using it. I would appreciate hints for how to set up the
> compiler
> to use stdcxx instead of the default standard library. I'm using gcc on
> Linux and Cygwin.
>
> Many thanks!
> Mark
>
> ____________________________________________________________
> FREE ONLINE PHOTOSHARING - Share your photos online with your friends and
> family!
> Visit http://www.inbox.com/photosharing
> [http://www.inbox.com/photosharing] to find out more!
Re: building Boost with stdcxx
Posted by Martin Sebor <se...@roguewave.com>.
Nadine Faizant wrote:
>
> I thought that stdcxx was not supported on windows/gcc ? I'm wrong ?
Stdcxx builds with gcc on Cygwin (and SFU aka Interix),
modulo minor issues in the build infrastructure like
STDCXX-337: http://issues.apache.org/jira/browse/STDCXX-337
Martin
>
> ----- Original Message ----- From: "Martin Sebor" <se...@roguewave.com>
> To: <st...@incubator.apache.org>
> Sent: Wednesday, February 14, 2007 2:11 AM
> Subject: Re: building Boost with stdcxx
>
>
>> Mark Brown wrote:
>>> Starting with one of the .jam files makes sense. For gcc I think
>>> gcc-stlport-tools.jam might be the one to go with. For MSVC I would
>>> look at msvc-stlport-tools.jam. It should be close to what you need
>>> for stdcxx as both replace the compiler's C++ library. I'm afraid I
>>> don't have MSVC istalled so don't have any insight into your error.
>>
>> Keep in mind that you *must* use gcc, not g++, to link when using
>> stdcxx. I think (but I don't know for sure) STLport uses g++.
>>
>> Martin
>>
>>>
>>> Mark
>>>
>>> -----Original Message-----
>>> From: nadine.faizant@nautitia.fr
>>> Sent: Tue, 13 Feb 2007 22:22:56 +0100
>>> To: stdcxx-user@incubator.apache.org
>>> Subject: Re: building Boost with stdcxx
>>>
>>> Well... i work again on this subject, and understand I was
>>> wrong... I finally do not change Jambase but change vc7-tools.jam to
>>> add include and preprocessors (see atached files). I am now sure that
>>> I compile with stdcxx but face a link error : LINK : error LNK2001:
>>> symbole externe non résolu __DllMainCRTStartup@12 Hope I will
>>> find the solution... or perhaps... you will find it...
>>> Nadine ----- Original Message ----- From: "Mark
>>> Brown" <mb...@inbox.com> To: <st...@incubator.apache.org>
>>> Sent: Tuesday, February 13, 2007 7:20 PM Subject: Re: building Boost
>>> with stdcxx Thanks Nadine. The Jambase file looks intimidating but
>>> let me give it a try and post my findings here.
>>>
>>> Mark
>>>
>>>> -----Original Message-----
>>>> From: nadine.faizant@nautitia.fr
>>>> Sent: Mon, 12 Feb 2007 09:44:09 +0100
>>>> To: stdcxx-user@incubator.apache.org
>>>> Subject: Re: building Boost with stdcxx
>>>>
>>>> Hello,
>>>>
>>>> I just do the same thing this week-end, but using VC8.
>>>> It was very hard to pick up info. I try that sucessfully :
>>>>
>>>> Change in boos\tools\build\jam_src\Jambase the c++FLAGS in
>>>> order to
>>>> add
>>>> include and PREPROCESSOR for your compilor.
>>>> Then lauch build.bat in the same directory (jam_src).
>>>> After that, lauch bjam in boost direcotry with the right -sTOOLS.
>>>> Hope this help,
>>>> Nadine
>>>>
>>>> PS : i do that with both boost 1.32
>>>>
>>>> ----- Original Message -----
>>>> From: "Mark Brown" <mb...@inbox.com>
>>>> To: <st...@incubator.apache.org>
>>>> Sent: Monday, February 12, 2007 2:26 AM
>>>> Subject: building Boost with stdcxx
>>>>
>>>>
>>>> Hi,
>>>>
>>>> I'm wondering if anyone has successfully built Boost with stdcxx. I
>>>> have
>>>> no
>>>> experience with hacking the Boost build system and only very little
>>>> experience using it. I would appreciate hints for how to set up the
>>>> compiler
>>>> to use stdcxx instead of the default standard library. I'm using
>>>> gcc on
>>>> Linux and Cygwin.
>>>>
>>>> Many thanks!
>>>> Mark
>>>>
>>>> ____________________________________________________________
>>>> FREE ONLINE PHOTOSHARING - Share your photos online with your
>>>> friends and
>>>> family!
>>>> Visit http://www.inbox.com/photosharing
>>>> [http://www.inbox.com/photosharing] to find out more!
>>>
>>
>>
>
>
Re: building Boost with stdcxx
Posted by Nadine Faizant <na...@nautitia.fr>.
I thought that stdcxx was not supported on windows/gcc ? I'm wrong ?
----- Original Message -----
From: "Martin Sebor" <se...@roguewave.com>
To: <st...@incubator.apache.org>
Sent: Wednesday, February 14, 2007 2:11 AM
Subject: Re: building Boost with stdcxx
> Mark Brown wrote:
>> Starting with one of the .jam files makes sense. For gcc I think
>> gcc-stlport-tools.jam might be the one to go with. For MSVC I would look
>> at msvc-stlport-tools.jam. It should be close to what you need for stdcxx
>> as both replace the compiler's C++ library. I'm afraid I don't have MSVC
>> istalled so don't have any insight into your error.
>
> Keep in mind that you *must* use gcc, not g++, to link when using
> stdcxx. I think (but I don't know for sure) STLport uses g++.
>
> Martin
>
>>
>> Mark
>>
>> -----Original Message-----
>> From: nadine.faizant@nautitia.fr
>> Sent: Tue, 13 Feb 2007 22:22:56 +0100
>> To: stdcxx-user@incubator.apache.org
>> Subject: Re: building Boost with stdcxx
>>
>> Well... i work again on this subject, and understand I was wrong...
>> I finally do not change Jambase but change vc7-tools.jam to add include
>> and preprocessors (see atached files). I am now sure that I compile with
>> stdcxx but face a link error : LINK : error LNK2001: symbole externe non
>> résolu __DllMainCRTStartup@12 Hope I will find the solution... or
>> perhaps... you will find it... Nadine -----
>> Original Message ----- From: "Mark Brown" <mb...@inbox.com> To:
>> <st...@incubator.apache.org> Sent: Tuesday, February 13, 2007 7:20
>> PM Subject: Re: building Boost with stdcxx Thanks Nadine. The Jambase
>> file looks intimidating but let me give it a try and post my findings
>> here.
>>
>> Mark
>>
>>> -----Original Message-----
>>> From: nadine.faizant@nautitia.fr
>>> Sent: Mon, 12 Feb 2007 09:44:09 +0100
>>> To: stdcxx-user@incubator.apache.org
>>> Subject: Re: building Boost with stdcxx
>>>
>>> Hello,
>>>
>>> I just do the same thing this week-end, but using VC8.
>>> It was very hard to pick up info. I try that sucessfully :
>>>
>>> Change in boos\tools\build\jam_src\Jambase the c++FLAGS in order to
>>> add
>>> include and PREPROCESSOR for your compilor.
>>> Then lauch build.bat in the same directory (jam_src).
>>> After that, lauch bjam in boost direcotry with the right -sTOOLS.
>>> Hope this help,
>>> Nadine
>>>
>>> PS : i do that with both boost 1.32
>>>
>>> ----- Original Message -----
>>> From: "Mark Brown" <mb...@inbox.com>
>>> To: <st...@incubator.apache.org>
>>> Sent: Monday, February 12, 2007 2:26 AM
>>> Subject: building Boost with stdcxx
>>>
>>>
>>> Hi,
>>>
>>> I'm wondering if anyone has successfully built Boost with stdcxx. I
>>> have
>>> no
>>> experience with hacking the Boost build system and only very little
>>> experience using it. I would appreciate hints for how to set up the
>>> compiler
>>> to use stdcxx instead of the default standard library. I'm using gcc on
>>> Linux and Cygwin.
>>>
>>> Many thanks!
>>> Mark
>>>
>>> ____________________________________________________________
>>> FREE ONLINE PHOTOSHARING - Share your photos online with your friends
>>> and
>>> family!
>>> Visit http://www.inbox.com/photosharing
>>> [http://www.inbox.com/photosharing] to find out more!
>>
>
>
Re: building Boost with stdcxx
Posted by Martin Sebor <se...@roguewave.com>.
Mark Brown wrote:
> Starting with one of the .jam files makes sense. For gcc I think gcc-stlport-tools.jam might be the one to go with. For MSVC I would look at msvc-stlport-tools.jam. It should be close to what you need for stdcxx as both replace the compiler's C++ library. I'm afraid I don't have MSVC istalled so don't have any insight into your error.
Keep in mind that you *must* use gcc, not g++, to link when using
stdcxx. I think (but I don't know for sure) STLport uses g++.
Martin
>
> Mark
>
> -----Original Message-----
> From: nadine.faizant@nautitia.fr
> Sent: Tue, 13 Feb 2007 22:22:56 +0100
> To: stdcxx-user@incubator.apache.org
> Subject: Re: building Boost with stdcxx
>
> Well... i work again on this subject, and understand I was wrong... I finally do not change Jambase but change vc7-tools.jam to add include and preprocessors (see atached files). I am now sure that I compile with stdcxx but face a link error : LINK : error LNK2001: symbole externe non résolu __DllMainCRTStartup@12 Hope I will find the solution... or perhaps... you will find it... Nadine ----- Original Message ----- From: "Mark Brown" <mb...@inbox.com> To: <st...@incubator.apache.org> Sent: Tuesday, February 13, 2007 7:20 PM Subject: Re: building Boost with stdcxx
> Thanks Nadine. The Jambase file looks intimidating but let me give it a try and post my findings here.
>
> Mark
>
>> -----Original Message-----
>> From: nadine.faizant@nautitia.fr
>> Sent: Mon, 12 Feb 2007 09:44:09 +0100
>> To: stdcxx-user@incubator.apache.org
>> Subject: Re: building Boost with stdcxx
>>
>>
>> Hello,
>>
>> I just do the same thing this week-end, but using VC8.
>>
>> It was very hard to pick up info. I try that sucessfully :
>>
>> Change in boos\tools\build\jam_src\Jambase the c++FLAGS in order to
>> add
>> include and PREPROCESSOR for your compilor.
>> Then lauch build.bat in the same directory (jam_src).
>> After that, lauch bjam in boost direcotry with the right -sTOOLS.
>>
>> Hope this help,
>>
>> Nadine
>>
>> PS : i do that with both boost 1.32
>>
>> ----- Original Message -----
>> From: "Mark Brown" <mb...@inbox.com>
>> To: <st...@incubator.apache.org>
>> Sent: Monday, February 12, 2007 2:26 AM
>> Subject: building Boost with stdcxx
>>
>>
>> Hi,
>>
>> I'm wondering if anyone has successfully built Boost with stdcxx. I have
>> no
>> experience with hacking the Boost build system and only very little
>> experience using it. I would appreciate hints for how to set up the
>> compiler
>> to use stdcxx instead of the default standard library. I'm using gcc on
>> Linux and Cygwin.
>>
>> Many thanks!
>> Mark
>>
>> ____________________________________________________________
>> FREE ONLINE PHOTOSHARING - Share your photos online with your friends and
>> family!
>> Visit http://www.inbox.com/photosharing [http://www.inbox.com/photosharing] to find out more!
>
Re: building Boost with stdcxx
Posted by Mark Brown <mb...@inbox.com>.
Starting with one of the .jam files makes sense. For gcc I think gcc-stlport-tools.jam might be the one to go with. For MSVC I would look at msvc-stlport-tools.jam. It should be close to what you need for stdcxx as both replace the compiler's C++ library. I'm afraid I don't have MSVC istalled so don't have any insight into your error.
Mark
-----Original Message-----
From: nadine.faizant@nautitia.fr
Sent: Tue, 13 Feb 2007 22:22:56 +0100
To: stdcxx-user@incubator.apache.org
Subject: Re: building Boost with stdcxx
Well... i work again on this subject, and understand I was wrong... I finally do not change Jambase but change vc7-tools.jam to add include and preprocessors (see atached files). I am now sure that I compile with stdcxx but face a link error : LINK : error LNK2001: symbole externe non résolu __DllMainCRTStartup@12 Hope I will find the solution... or perhaps... you will find it... Nadine ----- Original Message ----- From: "Mark Brown" <mb...@inbox.com> To: <st...@incubator.apache.org> Sent: Tuesday, February 13, 2007 7:20 PM Subject: Re: building Boost with stdcxx
Thanks Nadine. The Jambase file looks intimidating but let me give it a try and post my findings here.
Mark
> -----Original Message-----
> From: nadine.faizant@nautitia.fr
> Sent: Mon, 12 Feb 2007 09:44:09 +0100
> To: stdcxx-user@incubator.apache.org
> Subject: Re: building Boost with stdcxx
>
>
> Hello,
>
> I just do the same thing this week-end, but using VC8.
>
> It was very hard to pick up info. I try that sucessfully :
>
> Change in boos\tools\build\jam_src\Jambase the c++FLAGS in order to
> add
> include and PREPROCESSOR for your compilor.
> Then lauch build.bat in the same directory (jam_src).
> After that, lauch bjam in boost direcotry with the right -sTOOLS.
>
> Hope this help,
>
> Nadine
>
> PS : i do that with both boost 1.32
>
> ----- Original Message -----
> From: "Mark Brown" <mb...@inbox.com>
> To: <st...@incubator.apache.org>
> Sent: Monday, February 12, 2007 2:26 AM
> Subject: building Boost with stdcxx
>
>
> Hi,
>
> I'm wondering if anyone has successfully built Boost with stdcxx. I have
> no
> experience with hacking the Boost build system and only very little
> experience using it. I would appreciate hints for how to set up the
> compiler
> to use stdcxx instead of the default standard library. I'm using gcc on
> Linux and Cygwin.
>
> Many thanks!
> Mark
>
> ____________________________________________________________
> FREE ONLINE PHOTOSHARING - Share your photos online with your friends and
> family!
> Visit http://www.inbox.com/photosharing [http://www.inbox.com/photosharing] to find out more!
Re: building Boost with stdcxx
Posted by Nadine Faizant <na...@nautitia.fr>.
Well... i work again on this subject, and understand I was wrong...
I finally do not change Jambase but change vc7-tools.jam to add include and preprocessors (see atached files). I am now sure that I compile with stdcxx but face a link error : LINK : error LNK2001: symbole externe non résolu __DllMainCRTStartup@12
Hope I will find the solution... or perhaps... you will find it...
Nadine
----- Original Message -----
From: "Mark Brown" <mb...@inbox.com>
To: <st...@incubator.apache.org>
Sent: Tuesday, February 13, 2007 7:20 PM
Subject: Re: building Boost with stdcxx
Thanks Nadine. The Jambase file looks intimidating but let me give it a try and post my findings here.
Mark
> -----Original Message-----
> From: nadine.faizant@nautitia.fr
> Sent: Mon, 12 Feb 2007 09:44:09 +0100
> To: stdcxx-user@incubator.apache.org
> Subject: Re: building Boost with stdcxx
>
>
> Hello,
>
> I just do the same thing this week-end, but using VC8.
>
> It was very hard to pick up info. I try that sucessfully :
>
> Change in boos\tools\build\jam_src\Jambase the c++FLAGS in order to
> add
> include and PREPROCESSOR for your compilor.
> Then lauch build.bat in the same directory (jam_src).
> After that, lauch bjam in boost direcotry with the right -sTOOLS.
>
> Hope this help,
>
> Nadine
>
> PS : i do that with both boost 1.32
>
> ----- Original Message -----
> From: "Mark Brown" <mb...@inbox.com>
> To: <st...@incubator.apache.org>
> Sent: Monday, February 12, 2007 2:26 AM
> Subject: building Boost with stdcxx
>
>
> Hi,
>
> I'm wondering if anyone has successfully built Boost with stdcxx. I have
> no
> experience with hacking the Boost build system and only very little
> experience using it. I would appreciate hints for how to set up the
> compiler
> to use stdcxx instead of the default standard library. I'm using gcc on
> Linux and Cygwin.
>
> Many thanks!
> Mark
>
> ____________________________________________________________
> FREE ONLINE PHOTOSHARING - Share your photos online with your friends and
> family!
> Visit http://www.inbox.com/photosharing to find out more!
Re: building Boost with stdcxx
Posted by Mark Brown <mb...@inbox.com>.
Thanks Nadine. The Jambase file looks intimidating but let me give it a try and post my findings here.
Mark
> -----Original Message-----
> From: nadine.faizant@nautitia.fr
> Sent: Mon, 12 Feb 2007 09:44:09 +0100
> To: stdcxx-user@incubator.apache.org
> Subject: Re: building Boost with stdcxx
>
>
> Hello,
>
> I just do the same thing this week-end, but using VC8.
>
> It was very hard to pick up info. I try that sucessfully :
>
> Change in boos\tools\build\jam_src\Jambase the c++FLAGS in order to
> add
> include and PREPROCESSOR for your compilor.
> Then lauch build.bat in the same directory (jam_src).
> After that, lauch bjam in boost direcotry with the right -sTOOLS.
>
> Hope this help,
>
> Nadine
>
> PS : i do that with both boost 1.32
>
> ----- Original Message -----
> From: "Mark Brown" <mb...@inbox.com>
> To: <st...@incubator.apache.org>
> Sent: Monday, February 12, 2007 2:26 AM
> Subject: building Boost with stdcxx
>
>
> Hi,
>
> I'm wondering if anyone has successfully built Boost with stdcxx. I have
> no
> experience with hacking the Boost build system and only very little
> experience using it. I would appreciate hints for how to set up the
> compiler
> to use stdcxx instead of the default standard library. I'm using gcc on
> Linux and Cygwin.
>
> Many thanks!
> Mark
>
> ____________________________________________________________
> FREE ONLINE PHOTOSHARING - Share your photos online with your friends and
> family!
> Visit http://www.inbox.com/photosharing to find out more!
Re: building Boost with stdcxx
Posted by Nadine Faizant <na...@nautitia.fr>.
Hello,
I just do the same thing this week-end, but using VC8.
It was very hard to pick up info. I try that sucessfully :
Change in boos\tools\build\jam_src\Jambase the c++FLAGS in order to add
include and PREPROCESSOR for your compilor.
Then lauch build.bat in the same directory (jam_src).
After that, lauch bjam in boost direcotry with the right -sTOOLS.
Hope this help,
Nadine
PS : i do that with both boost 1.32
----- Original Message -----
From: "Mark Brown" <mb...@inbox.com>
To: <st...@incubator.apache.org>
Sent: Monday, February 12, 2007 2:26 AM
Subject: building Boost with stdcxx
Hi,
I'm wondering if anyone has successfully built Boost with stdcxx. I have no
experience with hacking the Boost build system and only very little
experience using it. I would appreciate hints for how to set up the compiler
to use stdcxx instead of the default standard library. I'm using gcc on
Linux and Cygwin.
Many thanks!
Mark
____________________________________________________________
FREE ONLINE PHOTOSHARING - Share your photos online with your friends and
family!
Visit http://www.inbox.com/photosharing to find out more!