www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/25/22:02:49

Date: Wed, 26 Feb 1997 10:46:47 +0800 (GMT)
From: Orlando Andico <orly AT gibson DOT eee DOT upd DOT edu DOT ph>
To: "Rafael R. Sevilla" <dido AT eee DOT upd DOT edu DOT ph>
cc: djgpp AT delorie DOT com
Subject: Re: GCC Pentium optimization patches
In-Reply-To: <Pine.SOL.3.91.970224163112.8214D-100000@gollum>
Message-ID: <Pine.SGI.3.93.970226104316.9213G-100000@gibson.eee.upd.edu.ph>
MIME-Version: 1.0

On Mon, 24 Feb 1997, Rafael R. Sevilla wrote:

> 
> I program both under Linux and MS-DOS with djgpp and I found a patch that 
> allows GCC 2.7.2 to optimize code to take advantage of the Pentium's 
> superscalar architecture.  I installed the patch on Linux and the 
> performance improvement for most of my programs was quite dramatic.  Is 
> a similar patch available for djgpp, or if not, what modifications do I 
> have to make for the patch to make it work with the djgpp GCC sources?  I 
> wouldn't want to download as much as eight megabytes just to find that I 
> can't make the patch work.  Any help would be appreciated.

I trust you didn't get the source patch for Linux?
I tried this about a year? ago and I had to patch the GCC-2.7.2 source
code, so maybe what you should do is get your old 2.7.2 source tree, patch
it (and it's 8Meg _decompressed_ so not that bad to download..) and build
for an i386-go32 target. Which isn't trivial under MSDOG though :(

Another option: get yourself the Linux-to-DJGPP crosscompiler sources
(there's a RedHat RPM). It comes with instructions on how to build libc
and libpc and all that.. you'll still have to rebuild GCC (there also are
instructions there) but that's trivial under Linux.. :)

.-----------------------------------------------------------------.
| Orlando Andico                email: orly AT gibson DOT eee DOT upd DOT edu DOT ph |
| IRC Lab/EE Dept/UP Diliman   http://gibson.eee.upd.edu.ph/~orly |
|  "through adventure we are not adventuresome" -- 10000 Maniacs  |
`-----------------------------------------------------------------'

- Raw text -


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