Mail Archives: djgpp/1996/05/29/18:34:23
Xref: | news2.mv.net comp.os.msdos.djgpp:4351
|
From: | Alexander Larsson <alla AT lysator DOT liu DOT se>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: Pentium Optimized GCC
|
Date: | Wed, 29 May 1996 17:47:05 -0700
|
Organization: | AlgoNet Public Access Node, Stockholm
|
Lines: | 43
|
Message-ID: | <31ACF009.380@lysator.liu.se>
|
References: | <31A371F9 DOT 446B9B3D AT eng DOT umd DOT edu>
|
NNTP-Posting-Host: | bengt.algonet.se
|
NNTP-Posting-User: | be171516c6bef039193c87732e2a5b740
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
John Sabean wrote:
>
> I saw the Pentium Compiler Group page at:
>
> http://www.goof.com/pcg/
>
> These patches are for Linux, but I was wondering
> if anyone had successfully applied them to DJGPP?
>
> If so, is there a place where I could get the
> executable, or at least some tips on how to patch
> it myself? (if it can be done....)
I have patched/compiled it for djgpp.
The patching is easy, just download gcc272s.zip
from some djgpp site. Download the patches.
Then run:
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.
(Makefile and Makefile.in failed, but i patched them
manually, its just some CFLAG= -O2 to add)
Then i just did
configure go-32
make
which produced cc1 and xggc which i copied to my bin dir.
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.
Has anyone else tried this?
/Alex
- Raw text -