gcc -mno-cygwin needs gcc-2.95.2-mingw-extra.tar.gz

Kazuhiro Fujieda fujieda@jaist.ac.jp
Sun Mar 12 04:58:00 GMT 2000

>>> On Sat, 11 Mar 2000 10:37:28 -0500
>>> Chris Faylor <cgf@cygnus.com> said:

> Why, specifically, do you need this package?  All header files and
> libraries should already be in the winsup directory.

When I don't use libgcc.a included in gcc-2.95.2-mingw-extra.tar.gz,
I fail to compile strace.exe because of the undefined reference
to `_impure_ptr' as the following.

gcc -mno-cygwin -o strace.exe ../../../../winsup/utils/strace.cc mingw_getopt.o -lnetapi32 -ladvapi32 /Home/fujieda/cygwin/snap/OBJ/i686-pc-cygwin/winsup/mingw/libmingw32.a
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(_eh.o)(.text+0x389): undefined reference to `_impure_ptr'
collect2: ld returned 1 exit status
make[1]: *** [strace.exe] Error 1
make[1]: Leaving directory `/Home/fujieda/cygwin/snap/OBJ/i686-pc-cygwin/winsup/utils'
make: *** [utils] Error 2
  | AIST      Kazuhiro Fujieda <fujieda@jaist.ac.jp>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology

More information about the Cygwin-developers mailing list