Date: Sun, 1 Jun 1997 16:40:20 +0300 (IDT) From: Eli Zaretskii To: Andrejs Vanags cc: djgpp AT delorie DOT com Subject: Re: Help! cant compile a large program on gcc In-Reply-To: <33902720.41B7@crl.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sat, 31 May 1997, Andrejs Vanags wrote: > GNU C version 2.7.2.1 (80386, BSD syntax) compiled by GNU C version 2.7.2.1. > c:/djgpp/bin\as.exe -o c:/djgpp/tmp\ccdaaaaa c:/djgpp/tmp\cccaaaaa > BFD: c:/djgpp/tmp\ccdaaaaa: .text: reloc overflow: 0x13607 > 0xffff This is a limitation of COFF file format: the debug info cannot refer to more than 64K (FFFF in hex) source lines. You need to remove the -g switch and add -O2 switch to the gcc command line, then the problem should go away.