Date: Thu, 23 Apr 1998 14:20:36 +0300 (IDT) From: Eli Zaretskii To: Alessandro Rizzoli cc: djgpp AT delorie DOT com Subject: Re: Stage1 Error while compiling djgcc-272 In-Reply-To: <353EFB58.141EC7DE@iperbole.bologna.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 23 Apr 1998, Alessandro Rizzoli wrote: > d:/djgpp/bin\ld.exe: cc1: .text: line number overflow: 0x10b4f > 0xffff > cc1: final close failed: File truncated > make.exe: *** [cc1] Error 1 This is a known problem. GCC compiled with debugging info (the -g switch) overflows the inherent limitation of maximum number of source lines imposed by the COFF object format. COFF can handle 64K lines max, which is what the linker is trying to tell you. To work around, delete all the *.o files and then build GCC like this: make CFLAGS=-O2 LDFLAGS=-s