delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/30/12:32:21

Message-ID: <B0000058778@stargate.astr.lu.lv>
From: "Andris Pavenis" <pavenis AT lanet DOT lv>
To: Adam Schrotenboer <ajschrotenboer AT lycosmail DOT com>, djgpp AT delorie DOT com
Date: Wed, 30 Dec 1998 19:32:06 +0200
MIME-Version: 1.0
Subject: Re: Problems building EGCS 1.1.1
In-reply-to: <36898A0B.90945F32@lycosmail.com>
X-mailer: Pegasus Mail for Win32 (v3.01d)
Reply-To: djgpp AT delorie DOT com

On 29 Dec 98, at 21:03, 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
> 
> I get the idea that cc1plus is limited to 65535 lines of code. I was
> wondering if this is normal. Can it be changed?
> 

There is such problem but seems that this only affects debug info.
I haven't tried to debug cc1plus.exe so cannot tell more. Anyway
the executables You're getting should work. Or You can tell gcc 
to ignore debug info
	./djmake.sh  CFLAGS=-O2

> 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 been
> considering makeing a dual boot system, Win9X & Linux, but so far
> haven't had the time, or a dist of Linux.

There is no problems to build pgcc-1.1.1 for DJGPP (only some minor 
modifications to the script I used to patch original sources of egcs-1.1.1). I tried 
and it worked. However I was not satisfied with results:
	libstdc++.a built with options '-mpentium -O6' didn't work (segfaults in tests
                for libio and libstdc++)
  	BYTE benchmarks compiled with same options also didn't work

Therefore I'm working with egcs-1.1.1 (not pgcc)

Andris

- Raw text -


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