This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: cygwin1.dll
- To: Alexey Yakovenko <work@makpes.donobl.db.energy.gov.ua>
- Subject: Re: cygwin1.dll
- From: Brendan Simon <brendan@dgs.monash.edu.au>
- Date: Mon, 02 Aug 1999 17:56:37 +1000
- CC: "'cygwin@sourceware.cygnus.com'" <cygwin@sourceware.cygnus.com>
- Organization: CTAM Pty Ltd
- References: <2372.990802@makpes.donobl.db.energy.gov.ua>
- Reply-To: brendan@dgs.monash.edu.au
Waker wrote:
> hello there.
>
> is there any way to exclude cygwin1.dll from linking? i don't wanna
> port any unix app to a win32, but want to compile some application
> using cygwin, and cygwin1.dll is not required. how do i do this? is
> there somehing like -nodefaultlib? =)
>
> i used following command line:
>
> g++ -o myapp myapp.cpp -Wl,-S,--strip-debug
>
> thanx.
I think you want the -mnocygwin option. Check Mumit Khan's web site
(there is a link to it on the soureceware.cygnus.com/cygwin page) for a
HOWTO on compiling apps that do not require the cygwin1.dll. Basically
the compiler will link to the Microsoft libraries instead.
Brendan Simon.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
- References:
- cygwin1.dll
- From: Waker <work@makpes.donobl.db.energy.gov.ua>