This is the mail archive of the
cygwin
mailing list for the Cygwin project.
[OT] RE: mno-cygwin dll woes
- From: Danny Smith <dannysmith at clear dot net dot nz>
- To: hugoduncan at users dot sf dot net, cygwin at cygwin dot com
- Date: Tue, 28 Nov 2006 11:28:18 +1300
- Subject: [OT] RE: mno-cygwin dll woes
>
> Looking at the specs file, -mno-cygwin always links with
> -lmsvcrt, so
> short of editting the specs file, how is it possible to link
> only with
> msvcr80?
>
If you had posted this to the mingw list someone might have suggested:
cp -f /lib/mingw/libmsvcr80.a /tmp/libmsvcrt.a
gcc -mno-cygwin -L/tmp foo.c
However, any required dll's that also depended on msvcrt.dll would still
bring in
the system lib.
Danny
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/