Some problems compiling

Mumit Khan khan@NanoTech.Wisc.EDU
Fri Dec 31 13:28:00 GMT 1999

=?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
>   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: 

for details. Newer versions of the compiler will warn you and then ignore
these pic/PIC flags.


Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list