This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: gcc -mno-cygwin needs gcc-2.95.2-mingw-extra.tar.gz
>>> 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