Build the gcc28 we install with itself rather than /usr/bin/cc.

Renamed manpages to <binanary>28.1.gz to reduce namespace conflicts.
Added bin/gcc28 and bin/g++28.
This commit is contained in:
David E. O'Brien 1998-03-04 09:19:23 +00:00
parent 28389cdcab
commit d44b822911
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=10031
2 changed files with 13 additions and 5 deletions

View File

@ -4,7 +4,7 @@
# Date created: 17 Jan 1998
# Whom: David O'Brien <obrien@NUXI.com>
#
# $Id$
# $Id: Makefile,v 1.1.1.1 1998/01/16 10:15:13 obrien Exp $
#
DISTNAME= gcc-2.8.0
@ -16,7 +16,8 @@ MAINTAINER= obrien@FreeBSD.org
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= i386-unknown-freebsd
MAN1= cccp.1 g++.1 gcc.1
ALL_TARGET= bootstrap
MAN1= cccp28.1 g++28.1 gcc28.1
post-install:
@${RM} -f ${PREFIX}/bin/c++
@ -29,5 +30,10 @@ post-install:
${PREFIX}/lib/gcc-lib/i386-unknown-freebsd/2.8.0/cpp ; \
do strip $$prog ; \
done)
ln -f ${PREFIX}/bin/gcc ${PREFIX}/bin/gcc28
ln -f ${PREFIX}/bin/g++ ${PREFIX}/bin/g++28
${MV} ${PREFIX}/man/man1/cccp.1 ${PREFIX}/man/man1/cccp28.1
${MV} ${PREFIX}/man/man1/g++.1 ${PREFIX}/man/man1/g++28.1
${MV} ${PREFIX}/man/man1/gcc.1 ${PREFIX}/man/man1/gcc28.1
.include <bsd.port.mk>

View File

@ -1,8 +1,10 @@
bin/g++
bin/g++28
bin/protoize
bin/unprotoize
bin/gcov
bin/gcc
bin/gcc28
bin/i386-unknown-freebsd-gcc
@unexec install-info --delete
info/cpp.info
@ -67,7 +69,7 @@ lib/gcc-lib/i386-unknown-freebsd/2.8.0/SYSCALLS.c.X
lib/gcc-lib/i386-unknown-freebsd/2.8.0/cpp
lib/gcc-lib/i386-unknown-freebsd/2.8.0/libgcc.a
lib/gcc-lib/i386-unknown-freebsd/2.8.0/libobjc.a
man/man1/cccp.1.gz
man/man1/g++.1.gz
man/man1/gcc.1.gz
man/man1/cccp28.1.gz
man/man1/g++28.1.gz
man/man1/gcc28.1.gz
i386-unknown-freebsd/include/assert.h