Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 1996 09:11:37 -0500
From:      Jerry Kendall <jerry@border.com>
To:        "Amancio Hasty Jr." <hasty@rah.star-gate.com>
Cc:        Andreas Klemm <andreas@knobel.gun.de>, ports@FreeBSD.org, hackers@FreeBSD.org
Subject:   Re: Pentium gcc port done 
Message-ID:  <96Jan31.091819est.20485@janus.border.com>
In-Reply-To: <199601310800.AAA01009@rah.star-gate.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Will it be put in an FTP site for those of us that have 2.1R installed
and would like to get it and 'help' in testing the system after a total
rebuild...?????

After all, faster IS better.... Smaller is GREAT.



On Wed, 31 Jan 1996, Amancio Hasty Jr. wrote:

> 
> Has anyone dare to build the stock gcc with this compiler and 
> then do a make world. I seem to recollect that Rob Mallory 
> <rmallory@wiley.csusb.edu> stated that the stock gcc recompiled
> with the pentium gcc seems to be smaller and run faster...
> 
> 	Amancio
> 
> >>> Andreas Klemm said:
>  > On Wed, 31 Jan 1996, Andreas Klemm wrote:
>  > 
>  > > Sent it tonight to Satoshi.
>  > 
>  > To be more specific. It's gcc-2.7.2p-p6. Get the pentium
>  > patch via Netscape and save it under patches/patch-aa.
>  > The appended patch save under patches-ab.
>  > The -mpentium option has to be added as command line option to 
>  > generate pentium code.
>  > It seems to me, that even -O9 has some effect...
>  > Try a benchmark (bytebench's dhry2reg) with:
>  > -s -pipe -static -mpentium -O9 -fomit-frame-pointer
>  > 
>  > For production code the authors suggest (as sane maximum) -O6.
>  > See http page:
>  > 	http://www-iss.mach.uni-karlsruhe.de/pcg/source.html
>  > 
>  > # New ports collection makefile for:	pgcc - Pentium gcc
>  > # Date created:		Tue Jan 30 21:15:31 MET 1996
>  > # Based on:		gcc-2.7.2
>  > # Pentium patches:	http://www-iss.mach.uni-karlsruhe.de/pcg/source.html
>  > # Whom:                 Andreas Klemm <andreas@knobel.gun.de>
>  > #
>  > 
>  > DISTNAME=	gcc-2.7.2
>  > PKGNAME=	gcc-2.7.2p-p6
>  > WRKSRC=		${WRKDIR}/${DISTNAME}
>  > MASTER_SITES=	ftp://prep.ai.mit.edu/pub/gnu/
>  > CATEGORIES+=	lang
>  > 
>  > MAINTAINER=	andreas@knobel.gun.de
>  > 
>  > #didn't find a ftp site for patches yet, they offer diff via http *sigh*
>  > #PATCH_SITES=    ${MASTER_SITES}
>  > #PATCHFILES=	gcc-2.7.2-2.7.2p-pl6.diff
>  > 
>  > PATCH_STRIP=	-p1
>  > 
>  > HAS_CONFIGURE=	TRUE
>  > CONFIGURE_ARGS=	--prefix=/usr/local --with-gnu-as --with-gnu-ld pentium
>      -unknown-freebsd
>  > 
>  > do-build:
>  > 	cd ${WRKSRC} && ${MAKE} bootstrap
>  > 
>  > do-install:
>  > 	cd ${WRKSRC} && ${MAKE} install CC="stage2/xgcc -Bstage2/" CFLAGS="-O2"
>  > 
>  > .include <bsd.port.mk>
>  > 
>  > 
>  > patch-ab:
>  > *** gcc-2.7.2/cccp.c.orig	Tue Jan 30 22:44:20 1996
>  > --- gcc-2.7.2/cccp.c	Tue Jan 30 22:44:40 1996
>  > ***************
>  > *** 316,322 ****
>  >   #ifndef VMS
>  >   #ifndef HAVE_STRERROR
>  >   extern int sys_nerr;
>  > ! #if defined(bsd4_4)
>  >   extern const char *const sys_errlist[];
>  >   #else
>  >   extern char *sys_errlist[];
>  > --- 316,322 ----
>  >   #ifndef VMS
>  >   #ifndef HAVE_STRERROR
>  >   extern int sys_nerr;
>  > ! #if defined(bsd4_4) || defined(__FreeBSD__)
>  >   extern const char *const sys_errlist[];
>  >   #else
>  >   extern char *sys_errlist[];
>  > *** gcc-2.7.2/collect2.c.orig	Tue Jan 30 22:44:20 1996
>  > --- gcc-2.7.2/collect2.c	Tue Jan 30 22:44:52 1996
>  > ***************
>  > *** 49,55 ****
>  >   #endif
>  >   
>  >   #ifndef HAVE_STRERROR
>  > ! #if defined(bsd4_4) 
>  >   extern const char *const sys_errlist[];
>  >   #else
>  >   extern char *sys_errlist[];
>  > --- 49,55 ----
>  >   #endif
>  >   
>  >   #ifndef HAVE_STRERROR
>  > ! #if defined(bsd4_4) || defined(__FreeBSD__)
>  >   extern const char *const sys_errlist[];
>  >   #else
>  >   extern char *sys_errlist[];
>  > *** gcc-2.7.2/cp/g++.c.orig	Tue Jan 30 22:44:20 1996
>  > --- gcc-2.7.2/cp/g++.c	Tue Jan 30 22:45:05 1996
>  > ***************
>  > *** 94,100 ****
>  >   
>  >   extern int sys_nerr;
>  >   #ifndef HAVE_STRERROR
>  > ! #if defined(bsd4_4)
>  >   extern const char *const sys_errlist[];
>  >   #else
>  >   extern char *sys_errlist[];
>  > --- 94,100 ----
>  >   
>  >   extern int sys_nerr;
>  >   #ifndef HAVE_STRERROR
>  > ! #if defined(bsd4_4) || defined(__FreeBSD__)
>  >   extern const char *const sys_errlist[];
>  >   #else
>  >   extern char *sys_errlist[];
>  > *** gcc-2.7.2/cpplib.c.orig	Tue Jan 30 22:44:20 1996
>  > --- gcc-2.7.2/cpplib.c	Tue Jan 30 22:45:10 1996
>  > ***************
>  > *** 7438,7444 ****
>  >   #ifndef VMS
>  >   #ifndef HAVE_STRERROR
>  >   extern int sys_nerr;
>  > ! #if defined(bsd4_4)
>  >   extern const char *const sys_errlist[];
>  >   #else
>  >   extern char *sys_errlist[];
>  > --- 7438,7444 ----
>  >   #ifndef VMS
>  >   #ifndef HAVE_STRERROR
>  >   extern int sys_nerr;
>  > ! #if defined(bsd4_4) || defined(__FreeBSD__)
>  >   extern const char *const sys_errlist[];
>  >   #else
>  >   extern char *sys_errlist[];
>  > *** gcc-2.7.2/gcc.c.orig	Tue Jan 30 22:44:20 1996
>  > --- gcc-2.7.2/gcc.c	Tue Jan 30 22:45:15 1996
>  > ***************
>  > *** 177,183 ****
>  >   
>  >   extern int sys_nerr;
>  >   #ifndef HAVE_STRERROR
>  > ! #if defined(bsd4_4)
>  >   extern const char *const sys_errlist[];
>  >   #else
>  >   extern char *sys_errlist[];
>  > --- 177,183 ----
>  >   
>  >   extern int sys_nerr;
>  >   #ifndef HAVE_STRERROR
>  > ! #if defined(bsd4_4) || defined(__FreeBSD__)
>  >   extern const char *const sys_errlist[];
>  >   #else
>  >   extern char *sys_errlist[];
>  > *** gcc-2.7.2/protoize.c.orig	Tue Jan 30 22:44:20 1996
>  > --- gcc-2.7.2/protoize.c	Tue Jan 30 22:45:20 1996
>  > ***************
>  > *** 87,93 ****
>  >   
>  >   #ifndef HAVE_STRERROR
>  >   extern int sys_nerr;
>  > ! #if defined(bsd4_4)
>  >   extern const char *const sys_errlist[];
>  >   #else
>  >   extern char *sys_errlist[];
>  > --- 87,93 ----
>  >   
>  >   #ifndef HAVE_STRERROR
>  >   extern int sys_nerr;
>  > ! #if defined(bsd4_4) || defined(__FreeBSD__)
>  >   extern const char *const sys_errlist[];
>  >   #else
>  >   extern char *sys_errlist[];
>  > --
>  > andreas@knobel.gun.de       /\/\___  Wiechers & Partner Datentechnik GmbH
>  >    Andreas Klemm        ___/\/\/       - Support Unix - aklemm@wup.de -
>  >                              \/
>  >        ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz
>  > apsfilter - magic print filter 4lpd  >>> knobel is powered by FreeBSD <<<
>  > 
> 
> 
> 

--------------------------------------------------------------------------------

Any comments or opinions in this message are my own and may or may not reflect
the comments or opinions of my present or previous employers.

                    Jerry Kendall      Border Network Technologies Inc.
         System Software Engineer      Tel +1-416-368-7157 ext 303
                 jerry@border.com      Fax +1-416-368-7178





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?96Jan31.091819est.20485>