From: Andrew Crabtree 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 Precedence: bulk > > 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