Date: Wed, 30 Dec 1998 19:52:58 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Adam Schrotenboer cc: djgpp AT delorie DOT com, Andris Pavenis Subject: Re: Problems building EGCS 1.1.1 In-Reply-To: <36898A0B.90945F32@lycosmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Tue, 29 Dec 1998, Adam Schrotenboer wrote: > I get the following error while building egcs: > > c:/djgpp/bin/ld.exe: ../cc1plus.exe: warning: .text: line number > overflow: 0x1b488 > 0xffff You should compile and link with -O2 and without -g. > I get the idea that cc1plus is limited to 65535 lines of code. No, this is a basic limitation of the COFF format: no more than 64K lines per module in the debug info. > Can it be changed? No, not unless we switch to another object format. However the above switches usually fix the problem. > The reason I am trying to build EGCS is to use it as a step toward > building PGCC 1.1.1. If I remember correctly, the only one to > distribute binaries for DJGPP of PGCC 1.0.1 did so w/ a cross compiler > from Linux. Is this essentially the only way to do this??? I have never tried to build PGCC, but I cannot understand how could building EGCS help you in building PGCC. Neither do I grasp why should it be impossible to build PGCC on MS-DOS/MS-Windows. Enough GNU tools (Bash, Fileutils, Textutils, Grep, Sed, etc.) are available which should make that possible, even easy. You might need to tweak some configure script, but people are successfully doing that for other packages for years. It is true that cross-building is easier (once you have a cross- environment up and running), but if you were after the easy way, you wouldn't be using Windows 9X, right? ;-)