public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* -mno-cygwin
@ 2001-09-04 17:50 Mike Bresnahan
  2001-09-04 17:54 ` -mno-cygwin Christopher Faylor
  2001-09-04 17:58 ` -mno-cygwin Larry Hall (RFK Partners, Inc)
  0 siblings, 2 replies; 21+ messages in thread
From: Mike Bresnahan @ 2001-09-04 17:50 UTC (permalink / raw)
  To: cygwin

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/

^ permalink raw reply	[flat|nested] 21+ messages in thread
* -mno-cygwin
@ 2001-03-30  6:57 Robert Collins
  2001-03-30  7:20 ` -mno-cygwin Earnie Boyd
  2001-03-30  8:06 ` -mno-cygwin Christopher Faylor
  0 siblings, 2 replies; 21+ messages in thread
From: Robert Collins @ 2001-03-30  6:57 UTC (permalink / raw)
  To: cygwin

How hard would an alias to -mno-cygwin of -mmingw be? If we're using
mingw libraries and headers,we might get less "why doesn't -mno-cygwin
let me use unix feature questions".

Then again, maybe not

Rob


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 21+ messages in thread
* -mno-cygwin
@ 2000-07-03  7:22 Vladimir Dubrovin
  0 siblings, 0 replies; 21+ messages in thread
From: Vladimir Dubrovin @ 2000-07-03  7:22 UTC (permalink / raw)
  To: cygwin

Hello cygwin,

  -mnocigwin  still  not  working  in  distribution  because of bug in
  specs. After changing
   -iwithprefixbefore
  from   ../../../../mingw/include   to   ../../../../mingw32/include
  everything works OK.

  


   Vladimir Dubrovin                  Sandy, ISP
    Sandy CCd chief               Customers Care dept
  http://www.sandy.ru           Nizhny Novgorod, Russia
 
http://www.security.nnov.ru



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2001-09-05 17:30 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-04 17:50 -mno-cygwin Mike Bresnahan
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

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).