Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <199912091933.NAA28642@hp2.xraylith.wisc.edu> To: =?iso-8859-1?Q?Dar=EDo?= Mariani cc: cygwin AT sourceware DOT cygnus DOT com Subject: Re: Some problems compiling In-reply-to: Your message of "Thu, 09 Dec 1999 15:32:25 -0300." <384FF5B9 DOT 8A864C21 AT fi DOT uba DOT ar> Date: Thu, 09 Dec 1999 13:32:58 -0600 From: Mumit Khan =?iso-8859-1?Q?Dar=EDo?= Mariani writes: > Hello: > I'm quite new to Cygwin on Win98. I'm receiving the following errors > while compiling: > > C:\\CYGNUS\\CYGWIN~1\\H-I586~1\\BIN\\..\\lib\\gcc-lib\\i586-cygwin32\\egcs-2. > 91.57\\..\\..\\..\\..\\i586-cygwin32\\include\\io.h:12: > warning: return-type of `setmode' defaults to `int' > /CYGNUS/CYGWIN~1/H-I586~1/i586-cygwin32/bin/as.exe: bfd assertion fail > /home/noer/src/b20/comp-tools/devo/bfd/coff-i386.c:479 > {standard input}: Assembler messages: > {standard input}:28: Error: Cannot represent relocation type > BFD_RELOC_386_GOTPC > > what's causing this? Thanks, Do *NOT* use -fpic or -fPIC when compiling. And, while you're at it, you definitely want to upgrade to a newer compiler. See: http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ for details. Newer versions of the compiler will warn you and then ignore these pic/PIC flags. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com