delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/18/21:27:28

Date: Mon, 18 Jan 1999 21:26:35 -0500 (EST)
From: Frank Donahoe <fdonahoe AT wilkes1 DOT wilkes DOT edu>
To: Andris Pavenis <pavenis AT lanet DOT lv>
Cc: djgpp AT delorie DOT com
Subject: Re: Will gcc 2.8.1 compile itself under DJGPP 2.02?
In-Reply-To: <B0000064264@stargate.astr.lu.lv>
Message-Id: <Pine.A32.3.96.990118204629.85949A-100000@wilkes1.wilkes.edu>
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com


On Mon, 18 Jan 1999, Andris Pavenis wrote:

> On 18 Jan 99, at 12:22, Frank Donahoe wrote:
> 
> > ...
> > So gcc281s.zip was loaded, (Oct 22, 1998) along with the binaries
> > and associated GNU binaries, (even acnf212b.zip when a first run
> > reported it couldn't find autoconfig), and djdev202.zip.
> 
> autoconf should not be needed unless You edit configuration related
> files (e.g. configure.in)
> > 
It was on the first run of "sh djmake.sh all ??

> > As per instructions, from %DJDIR%/gnu/gcc-2.81/build.djg the
> > command "sh djmake.sh" started the build process.  This ran into
> > trouble about six minutes into the build where it was working
> > on `libgcc2.a'.  The error was different on each run.  From a
> > full DOS screen, windows snapped it shut so fast that nothing
> > could be seen.  Once the error reported was "Load error:  no DOS
> > memory".  Windows accepted 600K as the largest block of DOS
> > memory it would reserve for the DOS prompt.  Working from a
> > window rather than full screen, the message:
> 
> If You see similar things close DOS session and start a new one.
> 
> > "This program has performed an illegal operation and will be
> > terminated.  Exit all programs and then restart your computer."
> > ...
> > 
> > But the script now went down a blind alley.  Following the
> > conditional at the target "f77-runtime:" (Makefile: line 1626)
> > it produced:
> > 
> > entering directory "../gcc-2.81/build.djg/f/runtime"
> > 
> >      "..No rule to make target all"
> > 
> > which is quite true since that directory contains nothing but
> > three subdirectories...
> > 
> > Has anyone successfully built gcc 2.8.1 with itself under
> > DJGPP V2?  I'd appreciate any help.
> 
> Of course I had build it even more than once (last time in October).
> But not under Win98. But I don't more use gcc-2.8.1 anymore (only egcs-1.1.1)
> > 
> > Incidentally, removing `g77.exe' as a target in the top
> > level of the Makefile (all.internal:) does not stop fortran
> > functions from being compiled.
> 
> Correct way how to remove Fortran support is:
> 	- remove directory  f  (from sources, not in build.djg)
> 	- run ./djconfig.sh 

Done!  Starting with a clean installation of gcc281s less the directory
    ../gcc-2.81/f

    "sh djconfig.sh" ran without any problems.  The first run of

    "sh djmake.sh" ran into trouble.  fine.exe invalid argument `1' to
-type.  Exiting due to signal SIGSEGV.  General protection fault at
eip = 0001f2fa etc.

The next three runs were successful although I was suspicious of the
first since it was over quickly.  Incidentally there is a typo in
the install instruction given in README.DJGPP.  For

    sh djmake.sh prefix=$DJDIR install

               read

    sh djmake.sh prefix=$$DJDIR install

The installed size of "gcc.exe" from the three runs is:

gcc.exe (1) 138240 bytes (2) 138752 bytes (3) 138752

which should leave everyone but those who need fortran happy.

> > ...
> > 
> Andris
> 
> 
Thanks much
Frank


- Raw text -


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