delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/26/10:02:32

Date: Sun, 26 Jan 1997 16:46:47 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Mark S. Teel" <mteel AT texoma DOT net>
cc: DJGPP <djgpp AT delorie DOT com>
Subject: Re: Difficulty re-building gcc
In-Reply-To: <199701251946.NAA28028@mail.texoma.net>
Message-ID: <Pine.SUN.3.91.970126164455.6498C-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019