delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/30/05:32:09

Date: Thu, 30 May 1996 12:28:28 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Alexander Larsson <alla AT lysator DOT liu DOT se>
Cc: djgpp AT delorie DOT com
Subject: Re: Pentium Optimized GCC
In-Reply-To: <31ACF009.380@lysator.liu.se>
Message-Id: <Pine.SUN.3.91.960530122456.15014E-100000@is>
Mime-Version: 1.0

On Wed, 29 May 1996, Alexander Larsson wrote:

>   patch <patch.diff (or whatever it's called)
> 
> I don't know why, but the patching failed miserably 
> on my dos machine, so i had to do the patching on 
> a unix machine, but it worked great.

The DOS port of `patch' distributed with DJGPP v2 fails in some cases due 
to file-naming problems (it uses temporary filenames that are too long 
for poor old DOS).  A patch for `patch' is available that makes this work 
(I believe you can get the patches from the bug-tracking system at the 
DJ's server).

> There is only one problem, i don't know if i do 
> something wrong, because when i compiled a program
> with -mpentium -O6 (or -O3) it actually got SLOWER!
> Not much, but still. The docs mention 5% always and
> up to 30% in extreme cases. Dunno why, first time i
> build gcc, i might have done something wrong.

You didn't build stage2 of the compiler, which is built with 
optimizations and using the stage1 compiler (so the compiler also runs 
faster).  That might be the reason.

- Raw text -


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