Date: Wed, 31 Jan 1996 20:35:52 +0100 (MET) From: Andreas Klemm <andreas@knobel.gun.de> To: asami@cs.berkeley.edu (Satoshi Asami) Cc: jkh@freebsd.org, ports@freebsd.org, hackers@freebsd.org Subject: Another Pentium gcc patch, -D__FreeBSD__=2 -Dbsd4_4 Message-ID: <199601311935.UAA05865@knobel.gun.de>
next in thread | raw e-mail | index | archive | help
Hi !
I'd suggest to add something to the CPP_PREDEFINES... Here the self
documenting patch ;-)
BTW: Could compile /usr/src/bin and /usr/src/sbin without any
trouble using -pipe -mpentium -O6.
Compilation with -6 only failed in /usr/src/usr.bin/tftp.
gcc got fatal signal 6. With -05, too. Optimization level -O4
worked ok for this subdir.
[ Kernel compilation failed, Jordan ;-) ]
Another thing... When bootstrapping gcc it will be build using
the CFLAGS -O2. Should we perhaps change this to:
-pipe -mpentium -O2 ???
Andreas ///
*** gcc-2.7.2/config/i386/freebsd.h.orig Wed Jan 31 20:16:50 1996
--- gcc-2.7.2/config/i386/freebsd.h Wed Jan 31 20:17:43 1996
***************
*** 35,41 ****
#include "i386/perform.h"
#undef CPP_PREDEFINES
! #define CPP_PREDEFINES "-Dunix -Di386 -D__FreeBSD__ -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
/* Like the default, except no -lg. */
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
--- 35,41 ----
#include "i386/perform.h"
#undef CPP_PREDEFINES
! #define CPP_PREDEFINES "-Dunix -Di386 -Dbsd4_4 -D__FreeBSD__=2 -D__386BSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
/* Like the default, except no -lg. */
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
--
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?199601311935.UAA05865>
