Date: Wed, 26 Feb 1997 10:46:47 +0800 (GMT) From: Orlando Andico To: "Rafael R. Sevilla" cc: djgpp AT delorie DOT com Subject: Re: GCC Pentium optimization patches In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 | `-----------------------------------------------------------------'