Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com To: cygwin-developers AT sourceware DOT cygnus DOT com Subject: Re: gcc -mno-cygwin needs gcc-2.95.2-mingw-extra.tar.gz References: <20000311103728 DOT D13328 AT cygnus DOT com> Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Kazuhiro Fujieda Date: 12 Mar 2000 21:57:54 +0900 In-Reply-To: Chris Faylor's message of Sat, 11 Mar 2000 10:37:28 -0500 Message-ID: Lines: 20 X-Mailer: Gnus v5.3/Emacs 19.34 >>> On Sat, 11 Mar 2000 10:37:28 -0500 >>> Chris Faylor 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 | HOKURIKU School of Information Science o_/ 1990 Japan Advanced Institute of Science and Technology