building Boost with stdcxx

View: New views
9 Messages — Rating Filter:   Alert me  

building Boost with stdcxx

by Mark Brown-17 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

by Nadine Faizant-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    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" <mbrown@...>
To: <stdcxx-user@...>
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

by Mark Brown-17 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
> Sent: Mon, 12 Feb 2007 09:44:09 +0100
> To: stdcxx-user@...
> 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" <mbrown@...>
> To: <stdcxx-user@...>
> 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

by Nadine Faizant-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
    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@...
 
    Hope I will find the solution... or perhaps... you will find it...
 
        Nadine
   
           
----- Original Message -----
From: "Mark Brown" <mbrown@...>
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@...
> Sent: Mon, 12 Feb 2007 09:44:09 +0100
> To:
stdcxx-user@...
> 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" <
mbrown@...>
> To: <
stdcxx-user@...>
> 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

by Mark Brown-17 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
Sent: Tue, 13 Feb 2007 22:22:56 +0100
To: stdcxx-user@...
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" <mbrown@...> To: <stdcxx-user@...> 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@...
>  Sent: Mon, 12 Feb 2007 09:44:09 +0100
> To: stdcxx-user@...
> 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"  <mbrown@...>
> To:  <stdcxx-user@...>
> 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

by Martin Sebor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
> Sent: Tue, 13 Feb 2007 22:22:56 +0100
> To: stdcxx-user@...
> 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" <mbrown@...> To: <stdcxx-user@...> 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@...
>>  Sent: Mon, 12 Feb 2007 09:44:09 +0100
>> To: stdcxx-user@...
>> 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"  <mbrown@...>
>> To:  <stdcxx-user@...>
>> 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

by Nadine Faizant-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    I thought that stdcxx was not supported on windows/gcc ? I'm wrong ?

----- Original Message -----
From: "Martin Sebor" <sebor@...>
To: <stdcxx-user@...>
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@...
>> Sent: Tue, 13 Feb 2007 22:22:56 +0100
>> To: stdcxx-user@...
>> 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" <mbrown@...> To:
>> <stdcxx-user@...> 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@...
>>>  Sent: Mon, 12 Feb 2007 09:44:09 +0100
>>> To: stdcxx-user@...
>>> 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"  <mbrown@...>
>>> To:  <stdcxx-user@...>
>>> 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

by Nadine Faizant-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    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" <mbrown@...>
To: <stdcxx-user@...>
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@...
Sent: Tue, 13 Feb 2007 22:22:56 +0100
To: stdcxx-user@...
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" <mbrown@...> To:
<stdcxx-user@...> 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@...
>  Sent: Mon, 12 Feb 2007 09:44:09 +0100
> To: stdcxx-user@...
> 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"  <mbrown@...>
> To:  <stdcxx-user@...>
> 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

by Martin Sebor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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" <sebor@...>
> To: <stdcxx-user@...>
> 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@...
>>> Sent: Tue, 13 Feb 2007 22:22:56 +0100
>>> To: stdcxx-user@...
>>> 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" <mbrown@...> To: <stdcxx-user@...>
>>> 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@...
>>>>  Sent: Mon, 12 Feb 2007 09:44:09 +0100
>>>> To: stdcxx-user@...
>>>> 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"  <mbrown@...>
>>>> To:  <stdcxx-user@...>
>>>> 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!
>>>
>>
>>
>
>