Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 1996 00:00:08 -0800
From:      "Amancio Hasty Jr." <hasty@rah.star-gate.com>
To:        Andreas Klemm <andreas@knobel.gun.de>
Cc:        ports@FreeBSD.ORG, hackers@FreeBSD.ORG
Subject:   Re: Pentium gcc port done 
Message-ID:  <199601310800.AAA01009@rah.star-gate.com>
In-Reply-To: Your message of "Wed, 31 Jan 1996 07:42:14 %2B0100." <Pine.BSF.3.91.960131073551.16127A-100000@knobel.gun.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
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 <<<
 > 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601310800.AAA01009>