public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* a bug
@ 2000-04-20 16:31 vigprogdev
  0 siblings, 0 replies; 24+ messages in thread
From: vigprogdev @ 2000-04-20 16:31 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

Hi !
I've tried to make a program with the new 
release. I think that's a -mno-cygwin 
related problem (with libstdc++) : this 
works without the flag :
Thanks in advance.

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


[-- Attachment #2: sortie.txt --]
[-- Type: text/plain, Size: 3468 bytes --]

g++ -DWIN32 -ansi -mno-cygwin -pedantic -Wall -W -O3 -mpentiumpro -march=pentium
pro -fexpensive-optimizations -Wstrict-prototypes -felide-constructors  -c nvbp.
cpp -o nvbp.o
g++ -DWIN32 -ansi -mno-cygwin -pedantic -Wall -W -O3 -mpentiumpro -march=pentium
pro -fexpensive-optimizations -Wstrict-prototypes -felide-constructors    -o nv
-mno-cygwin nvbp.o  -lkernel32 -luser32 -lgdi32
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(iostream.o)(.text+0x154): und
efined reference to `_imp___ctype_'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(iostream.o)(.text+0x521): und
efined reference to `_imp___ctype_'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(iostream.o)(.text+0x17c7): un
defined reference to `_impure_ptr'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(iostream.o)(.text+0x17d8): un
defined reference to `_impure_ptr'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(streambuf.o)(.text+0x3e7): un
defined reference to `__errno'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(stdstrbufs.o)(.text+0x46): un
defined reference to `_impure_ptr'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(stdiostream.o)(.text+0x16c):
undefined reference to `__srget'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(fileops.o)(.text+0x194): unde
fined reference to `__errno'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(fileops.o)(.text+0x206): unde
fined reference to `__errno'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(fileops.o)(.text+0x261): unde
fined reference to `__errno'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(fileops.o)(.text+0x390): unde
fined reference to `__errno'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(fileops.o)(.text+0x459): unde
fined reference to `__errno'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(fileops.o)(.text+0x5b1): more
 undefined references to `__errno' follow
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(iovfscanf.o)(.text+0x60): und
efined reference to `_imp___ctype_'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(iovfscanf.o)(.text+0x8d): und
efined reference to `_imp___ctype_'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(iovfscanf.o)(.text+0x584): un
defined reference to `_imp___ctype_'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(iovfscanf.o)(.text+0x5d1): un
defined reference to `_imp___ctype_'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(iovfscanf.o)(.text+0x85d): un
defined reference to `_imp___ctype_'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(iovfscanf.o)(.text+0x8b4): mo
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(floatconv.o)(.text+0x1287): u
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(floatconv.o)(.text+0x13ed): u
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../i686-pc-cygwin/lib/libm.a(w_s
qrt.o)(.text+0xc8): undefined reference to `__errno'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../i686-pc-cygwin/lib/libm.a(w_s
qrt.o)(.text+0xda): undefined reference to `__errno'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../i686-pc-cygwin/lib/libm.a(w_e
xp.o)(.text+0x142): undefined reference to `__errno'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../i686-pc-cygwin/lib/libm.a(w_e
xp.o)(.text+0x154): more undefined references to `__errno' follow
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(_eh.o)(.text+0x389): undefined r
eference to `_impure_ptr'
collect2: ld returned 1 exit status
make: *** [nv] Error 1

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Re: a bug
@ 2000-04-20 17:10 Mo DeJong
  0 siblings, 0 replies; 24+ messages in thread
From: Mo DeJong @ 2000-04-20 17:10 UTC (permalink / raw)
  To: vigprogdev; +Cc: cygwin

You can not compile C++ code with the -mno-cygwin option. If you
do, it seems to work but when you load the c++ shared lib it ends up
loading cygwin1.dll. You need to compile with the mingwin release
from by Mumit Kahn
http://www.nanotech.wisc.edu/~khan/software/gnu-win32/

Mo Dejong
Red Hat Inc.

On Fri, 21 Apr 2000, vigprogdev wrote:

> Hi !
> I've tried to make a program with the new 
> release. I think that's a -mno-cygwin 
> related problem (with libstdc++) : this 
> works without the flag :
> Thanks in advance.
> 
> V. Geslin


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

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

end of thread, other threads:[~2004-07-16 14:45 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <no.id>
1998-04-06  4:08 ` Problem with new-cygwin.dll.gz ? Geoffrey Noer
1998-04-06 17:20   ` Problem with new-cygwin.dll.gz - Not here there isn't Guy Gascoigne - Piggford
1998-04-08 16:25     ` Problem with new-cygwin.dll.gz Emil Hallin
1999-07-01 23:09 ` A new user of cygwin and unix based system Glenn Spell
1999-07-02  9:06   ` Chris Faylor
1999-07-31 18:34     ` Chris Faylor
1999-07-31 18:34   ` Glenn Spell
1999-07-02  9:45 ` Glenn Spell
1999-07-31 18:34   ` Glenn Spell
2000-04-20 19:03 ` a bug Chris Faylor
2001-09-17 21:40 ` Unwanted compiler warnings with w32api Shayne Steele
2001-09-17 21:56 ` Shayne Steele
2001-10-25 18:08 ` 30 second startup delay on Cygwin programs from SYSTEM account Scott Atwood
2001-10-29 15:56   ` Robert Collins
2001-11-05 14:39     ` Scott Atwood
2001-11-05 15:04       ` Robert Collins
2001-11-05 15:13         ` Scott Atwood
2001-11-11  8:26 ` Cygwin homepage has problems Shayne Steele
2003-01-16 19:15 ` Command-line email? dmeans
2003-01-17 10:09   ` Dr. Volker Zell
2004-07-16  8:36 ` mmap bug on Windows 9x Anton Ertl
2004-07-16 15:03   ` Corinna Vinschen
2000-04-20 16:31 a bug vigprogdev
2000-04-20 17:10 Mo DeJong

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