delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <434B95C0.8030200@sh.cvut.cz> |
Date: | Tue, 11 Oct 2005 12:36:48 +0200 |
From: | =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <V DOT Haisman AT sh DOT cvut DOT cz> |
User-Agent: | Mozilla Thunderbird 1.0.7 (Windows/20050923) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: boost, boost_unit_test_framework |
References: | <434AE423 DOT 6070701 AT brasse DOT org> |
In-Reply-To: | <434AE423.6070701@brasse.org> |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
--------------enig167DB95F4A2439C0C610919C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Mattias Br=C3=A4ndstr=C3=B6m wrote: > Hello! >=20 > I want to write some C++ programs that use boost and compile them using > cygwin. What is the recomended way of doing this? >=20 > 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: >=20 > /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. >=20 > 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=3D-gcc-mt-s and use -lboost_date_time${BOOST_SUFFIX}. >=20 > 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. >=20 > Another question regarding the cygwin boost package is why the test > libraries are missing? Because its build is broken on Cygwin. >=20 > I am curious. =3D) >=20 > Regards, > Mattias Vaclav Haisman --------------enig167DB95F4A2439C0C610919C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQEVAwUBQ0uVwG56zbtzMDG0AQITbQgAmJBFkYp6tLJAyQTe4ixDeDGNwc+x996U Ynprcd7AT8NLMgQEiSMZYwU6n/WdgwjFWWJRbZmtbDy6Hmx3WPAIvghwbH7cQpmQ qtV4E3qRwH+4chDRhE3iOfd+xvw6Q9cjm5+a6M3ftznH9x7t78vtHLEffEY9No8u uiblYn/+Mdpv18vTVjpUUQGV6DPOtLjIISQuSeJv++dT35Icq9MjjfiSF+2om04p 3S27J0ybodkJAHRFWIKcLPYh7z3wGzAOC8SFRIAIrnHNtbXzqMEefGUIAVZAdMGT JPT9Gzwih9IEUq1RwRYRfkw7g6BQNDGZltD0zWsToua0QtCn474SYQ== =AmRF -----END PGP SIGNATURE----- --------------enig167DB95F4A2439C0C610919C--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |