delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/01/10/02:32:55

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4D2AB613.8070603@gmail.com>
Date: Sun, 09 Jan 2011 23:32:35 -0800
From: Daniel Colascione <dan DOT colascione AT gmail DOT com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: libboost?
References: <AANLkTimoWU2ef6ss0juBeB1hXnAfxb4XZdxWHWxPw9d8 AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTimoWU2ef6ss0juBeB1hXnAfxb4XZdxWHWxPw9d8@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

--------------enigDCB34CDE606E42DF7E8353FE
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 1/9/11 10:44 PM, Steven Woody wrote:
> I noticed cygwin comes with libboost.  I then come up with a question:
>  Can I develop c++ application using libboost without distribute
> cygwin1.dll and other cyg**.dll files?  Usually, as I understand, if I
> want to develop c++ application, I have to distribute cyg**.dll.  I am
> trying to bypass this limitation.

First of all, most of boost is made up of header-only libraries that
don't involve any linking at all. You'll need to compile any remaining
components with the mingw cross-compiler, e.g., with
CC=3Di686-w64-mingw32-gcc and link them against your application yourself.


--------------enigDCB34CDE606E42DF7E8353FE
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.11 (Darwin)

iEYEARECAAYFAk0qthcACgkQ17c2LVA10VuksgCgtRDlByEIWjPdnkDEnj+i77H0
CXcAn3vVl5t8r8Ek1ZsuaPhy8xfjmINA
=HPod
-----END PGP SIGNATURE-----

--------------enigDCB34CDE606E42DF7E8353FE--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019