Mail Archives: djgpp/1997/01/26/10:02:32
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.
- Raw text -