delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/28/17:12:09

Message-Id: <m0wLrkO-000S1kC@natacha.inti.edu.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT edu DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT edu DOT ar>
Organization: INTI
To: kmatick AT binghamton DOT edu, djgpp AT delorie DOT com
Date: Mon, 28 Apr 1997 18:06:26 +0000
MIME-Version: 1.0
Subject: Re: Rebuilding gcc.exe

Bob Kematick <kmatick AT binghamton DOT edu> wrote:

> Salvador Eduardo Tropea (SET) wrote:
> > 
> > Andrew Crabtree <andrewc AT typhoon DOT rose DOT hp DOT com> wrote:
> > >
> > > Does anyone have a step-by-step guilde for rebuilding gcc from the
> > > FSF sources.
> > What GCC the one reduced by DJ under the v2gnu directory or the original "raw"
> > from the FSF directly?
> > Use the DJ cooked one.
> > 
> 
> He specifically mentioned the FSF version. He is probably trying to
> build
But the DJ's version is offitial and if FSF TOO!. Is distributed in the FSF CDs 
and the FSF have links to the DJ's page. More: in Simtelnet all the djgpp stuff 
is in the directories reserved for the FSF stuff.

> gcc 2.7.2.2 , already having gcc 2.7.2.1 binaries. 
2.7.2.2 don't have any addition for the DOS version. He is trying with an 
snapshot of 2.8.0.

> FWIW : Do you know if the "DJ cooked version" actually compiles out of
> the package ,
> or are you simply saying that it *should* ? 
It compiles very well (stops 1 time in my configuration but running make again 
compiles all, is just a little thing in the makefile itself) I recompiled GCC 
at least 4 times in my machine. It was from the v2.0 (2.7.2) and v2.01 
(2.7.2.1).

> I tried unpacking v2gnu/gcc2721s.zip and compiling it more or less just
> for fun. 
> First attempt , "make" crashed with an out of memory error. Solved that
> by removing 
> SHELL= line from makefile.
I never had this problem.
 
> Next attempt failed building libgcc.a , text overflow or something.
> Solved by removing
> -g from CFLAGS and trying again...
That's a limitation of the COFF debug information and Robert (who ported the 
binutils) put it clear in the list some time ago. And I guess you don't want to 
make gcc with debug info and without optimizations ;-)

> Finally created xgcc.exe  ...
> However , make stage1 fails , must move files manually to stage1
> directory ...
> Trying to follow directions in INSTALL file for stage2 compile , almost
> works ,
> some automagically generated batch files have / instead of \ which
> finally causes
> make to halt again ...
No stages needed for the DJ's version that's clearly explained in the doc 
files.

> Again , all of this is with the so called "DJ cooked version " ...
Yes is very "cooked" because is allready configured. You just need to set the 
compiler switchs to what you want. For example: -O2 -fomit-frame-pointer -m486

SET 
------------------------------------ 0 --------------------------------
Visit my home page: http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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