delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/25/09:55:47

From: Andrew Crabtree <andrewc AT typhoon DOT rose DOT hp DOT com>
Message-Id: <199706251352.AA135656747@typhoon.rose.hp.com>
Subject: Re: DJGPP compiling problem - please help
To: jansen AT uni-paderborn DOT de
Date: Wed, 25 Jun 1997 6:52:26 PDT
Cc: djgpp AT delorie DOT com
In-Reply-To: <33B1136D.5047@uni-paderborn.de>; from "Dirk Jansen" at Jun 25, 97 2:47 pm

> 
> I tried to compile a source file with DJGPP 2.01 and got this error
> message:
> 
> -------------------------------------------------------------------
> C:\SOURCE>gcc -c cpu.c -o cpu.o
> BFD: cpu.o: .data: reloc overflow: 0x100c5 > 0xffff
> e:/djgpp/tmp\cceaaaaa: Assembler messages:
> e:/djgpp/tmp\cceaaaaa:80319: Error: bfd_coff_swap_scnhdr_out failed
> -------------------------------------------------------------------

This is a limitation of the coff file format used.  Try one of these
compile lines nand it should work

gcc -O2 -c cpu.c

gcc -s -c cpu.c

gcc -O2 -s -c cpu.c

Andrew 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019