This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Some problems compiling
- To: Darío Mariani <dmarian at fi dot uba dot ar>
- Subject: Re: Some problems compiling
- From: Mumit Khan <khan at NanoTech dot Wisc dot EDU>
- Date: Thu, 09 Dec 1999 13:32:58 -0600
- cc: cygwin at sourceware dot cygnus dot com
=?iso-8859-1?Q?Dar=EDo?= Mariani <dmarian@fi.uba.ar> 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@sourceware.cygnus.com