public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Some problems compiling
@ 1999-12-09 10:32 Darío Mariani
  1999-12-09 11:35 ` Mumit Khan
  1999-12-31 13:28 ` Darío Mariani
  0 siblings, 2 replies; 4+ messages in thread
From: Darío Mariani @ 1999-12-09 10:32 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 669 bytes --]

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,

		Darío

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Some problems compiling
  1999-12-09 10:32 Some problems compiling Darío Mariani
@ 1999-12-09 11:35 ` Mumit Khan
  1999-12-31 13:28   ` Mumit Khan
  1999-12-31 13:28 ` Darío Mariani
  1 sibling, 1 reply; 4+ messages in thread
From: Mumit Khan @ 1999-12-09 11:35 UTC (permalink / raw)
  To: Darío Mariani; +Cc: cygwin

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Some problems compiling
  1999-12-09 10:32 Some problems compiling Darío Mariani
  1999-12-09 11:35 ` Mumit Khan
@ 1999-12-31 13:28 ` Darío Mariani
  1 sibling, 0 replies; 4+ messages in thread
From: Darío Mariani @ 1999-12-31 13:28 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 669 bytes --]

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,

		Darío

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Some problems compiling
  1999-12-09 11:35 ` Mumit Khan
@ 1999-12-31 13:28   ` Mumit Khan
  0 siblings, 0 replies; 4+ messages in thread
From: Mumit Khan @ 1999-12-31 13:28 UTC (permalink / raw)
  To: Darío Mariani; +Cc: cygwin

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-12-31 13:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-09 10:32 Some problems compiling Darío Mariani
1999-12-09 11:35 ` Mumit Khan
1999-12-31 13:28   ` Mumit Khan
1999-12-31 13:28 ` Darío Mariani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).