boost, boost_unit_test_framework

Václav Haisman V.Haisman@sh.cvut.cz
Tue Oct 11 10:37:00 GMT 2005



Mattias Brändström wrote:
> Hello!
> 
> I want to write some C++ programs that use boost and compile them using
> cygwin. What is the recomended way of doing this?
> 
> Usually when I use the boost libraries (on Fedora Core) I would be able
> to link my program using gcc by providing -lboost_date_time on the
> command line. With cygwin I can't do that since there is no
> libboost_date_time.a library insalled. However, these libraries are
> installed:
> 
> /usr/lib/libboost_date_time-gcc-mt-s-1_33.a*
> /usr/lib/libboost_date_time-gcc-mt-s.a*
This is called 'versioned' layout.

> 
> In my build scripts I would still like to be able to specify
> -lboost_date_time and not -lboost_date_time-gcc-mt-s. Is it the
> intention of the maintainer of the cygwin boost package that I should
> make a symbolic link (ln -s libboost_date_time.a
> libboost_date_time-gcc-mt-s.a) to the library that I want to use?
You can either add the links or you can have something like
BOOST_SUFFIX=-gcc-mt-s and use -lboost_date_time${BOOST_SUFFIX}.

> 
> In my opinion it would be preferable to have one of the  different
> variants of the date library installed as libboost_date_time.a. Is there
> any special reason why it's done like it is today?
Marking the version in the way it is now done is prefered by those who
approve this package.

> 
> Another question regarding the cygwin boost package is why the test
> libraries are missing?
Because its build is broken on Cygwin.

> 
> I am curious. =)
> 
> Regards,
> Mattias

Vaclav Haisman



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 546 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20051011/a7fac777/attachment.sig>


More information about the Cygwin mailing list