From: "Mike Bresnahan" <mbresnah@visi.com>
To: <cygwin@cygwin.com>
Subject: -mno-cygwin
Date: Tue, 04 Sep 2001 17:50:00 -0000 [thread overview]
Message-ID: <EKEJKOHPOIIALFJMKEIGGEJHCGAA.mbresnah@visi.com> (raw)
I am trying to compile and link an application with the Cygwin tools that
does not depend on cygwin1.dll by passing -mno-cygwin to gcc, however the
resulting executable is linked to cygwin1.dll. Below is a log that
illustrates the problem.
-- begin --
/usr/local/src/no-cygwin-bug: make
gcc -c -I/usr/local/src/mingw32/gcc-2.95.2/include/g++-3 -mno-cygwin main.cc
gcc -I/usr/local/src/mingw32/gcc-2.95.2/include/g++-3 -mno-cygwin
main.o -L/usr/local/src/mingw32/gcc-2.95.2/lib/gcc-lib/i386-mingw32msvc/2.95
.2 -lstdc++ -lm -o main
/usr/local/src/no-cygwin-bug: cygcheck.exe main.exe
Found: .\main.exe
.\main.exe
C:\cygwin\bin\cygwin1.dll
C:\WINNT\System32\KERNEL32.dll
C:\WINNT\System32\NTDLL.DLL
C:\WINNT\System32\msvcrt.dll
Use -h to see help about each section
-- end --
Additionally, the resulting executable when executed goes into a endless
loop before entering main().
Note that I have downloaded mingw32 and am pointing at its headers and
libraries, because cygwin is missing the ANSI C++ headers and libraries.
Any help would be highly apprieciated.
Mike Bresnahan
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
next reply other threads:[~2001-09-04 17:50 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-04 17:50 Mike Bresnahan [this message]
2001-09-04 17:54 ` -mno-cygwin Christopher Faylor
2001-09-04 18:23 ` -mno-cygwin Mike Bresnahan
2001-09-04 18:51 ` -mno-cygwin Christopher Faylor
2001-09-05 14:52 ` -mno-cygwin Paul G.
2001-09-05 17:30 ` -mno-cygwin Mike Bresnahan
2001-09-04 17:58 ` -mno-cygwin Larry Hall (RFK Partners, Inc)
2001-09-04 18:12 ` -mno-cygwin David Carter
-- strict thread matches above, loose matches on Subject: below --
2001-03-30 6:57 -mno-cygwin Robert Collins
2001-03-30 7:20 ` -mno-cygwin Earnie Boyd
2001-03-30 8:06 ` -mno-cygwin Christopher Faylor
2001-03-30 9:22 ` -mno-cygwin Earnie Boyd
2001-03-30 10:34 ` -mno-cygwin Christopher Faylor
2001-03-30 12:01 ` -mno-cygwin Earnie Boyd
2001-03-30 12:39 ` -mno-cygwin Christopher Faylor
2001-03-30 13:56 ` -mno-cygwin Earnie Boyd
2001-03-30 18:41 ` -mno-cygwin Paul Garceau
2001-03-31 9:07 ` -mno-cygwin Art Povelones
2001-03-31 10:00 ` -mno-cygwin Christopher Faylor
2001-03-30 10:50 ` -mno-cygwin Charles Wilson
2000-07-03 7:22 -mno-cygwin Vladimir Dubrovin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=EKEJKOHPOIIALFJMKEIGGEJHCGAA.mbresnah@visi.com \
--to=mbresnah@visi.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).