Date: Sun, 26 Jan 1997 16:46:47 +0200 (IST) From: Eli Zaretskii To: "Mark S. Teel" cc: DJGPP Subject: Re: Difficulty re-building gcc In-Reply-To: <199701251946.NAA28028@mail.texoma.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 25 Jan 1997, Mark S. Teel wrote: > I am trying to rebuild gcc and I keep getting the message : > "c:/djgpp/bin\ld.exe: cc1: .text: line number overflow: 0x10b58 > 0xffff" > on what appears to be the final link. I have read the FAQ but haven't > found anything about this. Thanks in advance. You need to add -O2 to the compilation switches. The problem is that COFF object format only supports 64K source lines per program, but when you compile without -O2, you get more lines than that. Just add "CFLAGS=-O2" to whatever command line you pass to Make when you compile gcc.