diff options
author | Eric L. Hernes <erich@FreeBSD.org> | 1996-08-01 19:54:21 +0000 |
---|---|---|
committer | Eric L. Hernes <erich@FreeBSD.org> | 1996-08-01 19:54:21 +0000 |
commit | 59565916058e71973a6a3e694da657fed8299f54 (patch) | |
tree | 5267dd0a5daf2449da14a6dd2f1759963762c523 /devel/m6811-gcc | |
parent | 5e8d1d732a6dbd170af128e1dbe8f20ff8d79ec8 (diff) | |
download | ports-59565916058e71973a6a3e694da657fed8299f54.tar.gz ports-59565916058e71973a6a3e694da657fed8299f54.zip |
Notes
Diffstat (limited to 'devel/m6811-gcc')
-rw-r--r-- | devel/m6811-gcc/Makefile | 37 | ||||
-rw-r--r-- | devel/m6811-gcc/distinfo | 2 | ||||
-rw-r--r-- | devel/m6811-gcc/files/patch-aa | 24 | ||||
-rw-r--r-- | devel/m6811-gcc/files/patch-ab | 127 | ||||
-rw-r--r-- | devel/m6811-gcc/files/patch-ac | 82 | ||||
-rw-r--r-- | devel/m6811-gcc/pkg-comment | 1 | ||||
-rw-r--r-- | devel/m6811-gcc/pkg-descr | 37 | ||||
-rw-r--r-- | devel/m6811-gcc/pkg-plist | 56 |
8 files changed, 366 insertions, 0 deletions
diff --git a/devel/m6811-gcc/Makefile b/devel/m6811-gcc/Makefile new file mode 100644 index 000000000000..c87e529ec139 --- /dev/null +++ b/devel/m6811-gcc/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: gcc11 +# Version required: 2.6.3 +# Date created: Thu Sep 14 11:10:01 CDT 1995 +# Whom: erich@FreeBSD.org +# +# $Id$ +# + +DISTNAME= gcc11 +PKGNAME= gcc11-2.6.3 +CATEGORIES= devel +MASTER_SITES= ftp://nyquist.ee.ualberta.ca/pub/motorola/68hc11/gcc/ +MASTER_SITES+= ftp://archive.cis.ohio-state.edu/pub/gnu/mirror/ +#MASTER_SITES+= ftp://prep.ai.mit.edu/pub/gnu/ + +DISTFILES= gcc-6811-fsf.tar.gz gcc-2.6.3.tar.gz + +MAINTAINER= erich@FreeBSD.ORG + +BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison + +NO_WRKSUBDIR= yes + +post-extract: + tar -C ${WRKSRC}/gcc-6811-release/gcc -cf - config | \ + tar -C ${WRKSRC}/gcc-2.6.3 -xvf - + +pre-configure: + cd ${WRKSRC}/gcc-2.6.3; ./configure -host=i386-unknown-freebsd2.0.5 \ + --target=m6811-local --prefix=${PREFIX} + +post-install: + cd ${PREFIX}/lib/gcc-lib/m6811-local/2.6.3; strip cc1 cpp + cd ${PREFIX}/bin; strip m6811-local-gcc as6800 asz80 as6811 \ + as6809 as6805 as6804 asi85 aslink + +.include <bsd.port.mk> diff --git a/devel/m6811-gcc/distinfo b/devel/m6811-gcc/distinfo new file mode 100644 index 000000000000..d60fdea60bcc --- /dev/null +++ b/devel/m6811-gcc/distinfo @@ -0,0 +1,2 @@ +MD5 (gcc-6811-fsf.tar.gz) = 43171eafb3bf4f55ada273aaf4ce4ead +MD5 (gcc-2.6.3.tar.gz) = c406a3c3a69637cb152985a4aa65c471 diff --git a/devel/m6811-gcc/files/patch-aa b/devel/m6811-gcc/files/patch-aa new file mode 100644 index 000000000000..6932d783f191 --- /dev/null +++ b/devel/m6811-gcc/files/patch-aa @@ -0,0 +1,24 @@ +*** Makefile.orig Fri Sep 1 16:59:32 1995 +--- Makefile Fri Sep 1 17:14:52 1995 +*************** +*** 0 **** +--- 1,19 ---- ++ ++ all: ++ cd gcc-2.6.3; ${MAKE} "LANGUAGES=c" $@ ++ cd gcc-6811-release/xasm/asm-src; ${MAKE} ++ cd gcc-6811-release/xasm/lnk-src; ${MAKE} ++ cd gcc-6811-release/sample; ${MAKE} ++ ++ install: ++ cd gcc-2.6.3; ${MAKE} "LANGUAGES=c" $@ ++ cd gcc-6811-release/xasm/asm-src; ${MAKE} $@ ++ cd gcc-6811-release/xasm/lnk-src; ${MAKE} $@ ++ cd gcc-6811-release/sample; ${MAKE} $@ ++ cd ${PREFIX}/lib/gcc-lib/m6811-local/2.6.3; \ ++ rm -f as ld; \ ++ ln -s ${PREFIX}/bin/as6811 as; \ ++ ln -s ${PREFIX}/bin/aslink ld ++ rm -f ${PREFIX}/bin/gcc11 ++ cd ${PREFIX}/bin; ln -s ${PREFIX}/bin/m6811-local-gcc gcc11 ++ diff --git a/devel/m6811-gcc/files/patch-ab b/devel/m6811-gcc/files/patch-ab new file mode 100644 index 000000000000..93fdb61fcb2c --- /dev/null +++ b/devel/m6811-gcc/files/patch-ab @@ -0,0 +1,127 @@ +*** gcc-2.6.3/Makefile.in~ Fri Sep 1 11:18:23 1995 +--- gcc-2.6.3/Makefile.in Fri Sep 1 11:18:33 1995 +*************** +*** 34,40 **** + + # Selection of languages to be made. + # This is overridden by configure. +! LANGUAGES = c objective-c proto + + ALLOCA = + ALLOCA_FLAGS = +--- 34,40 ---- + + # Selection of languages to be made. + # This is overridden by configure. +! LANGUAGES = c + + ALLOCA = + ALLOCA_FLAGS = +*************** +*** 319,325 **** + HOST_OBSTACK=$(OBSTACK) + + # Choose the real default target. +! ALL=all.internal + + # Choose the real install target. + INSTALL_TARGET=install-normal +--- 319,325 ---- + HOST_OBSTACK=$(OBSTACK) + + # Choose the real default target. +! ALL=all.cross + + # Choose the real install target. + INSTALL_TARGET=install-normal +*************** +*** 565,572 **** + # This is what to compile if making a cross-compiler. + # Note that we can compile enquire using the cross-compiler just built, + # although we can't run it on this machine. +! all.cross: native gcc-cross specs stmp-headers $(LIBGCC) $(STMP_FIXPROTO) \ +! $(CROSS_TEST) $(ENQUIRE) $(EXTRA_PARTS) lang.all.cross + # This is what to compile if making gcc with a cross-compiler. + all.build: native xgcc $(EXTRA_PARTS) lang.all.build + # This is what must be made before installing GCC and converting libraries. +--- 565,571 ---- + # This is what to compile if making a cross-compiler. + # Note that we can compile enquire using the cross-compiler just built, + # although we can't run it on this machine. +! all.cross: native gcc-cross specs stmp-headers + # This is what to compile if making gcc with a cross-compiler. + all.build: native xgcc $(EXTRA_PARTS) lang.all.build + # This is what must be made before installing GCC and converting libraries. +*************** +*** 692,698 **** + # This rule deliberately does not depend on libgcc1.a + # so that it will fail if the installer hasn't provided it. + libgcc1.cross: +! mv libgcc1.a libgcc1.cross || (echo You must find a way to make libgcc1.a; false) + + # Compile the library of arithmetic subroutines with the native compiler. + # Don't compile it with GCC! +--- 692,698 ---- + # This rule deliberately does not depend on libgcc1.a + # so that it will fail if the installer hasn't provided it. + libgcc1.cross: +! echo $@ is not implemented yet; exit 99 + + # Compile the library of arithmetic subroutines with the native compiler. + # Don't compile it with GCC! +*************** +*** 1870,1877 **** + install: $(INSTALL_TARGET) ; @true + + # Copy the compiler files into directories where they will be run. +! install-normal: install-common $(INSTALL_HEADERS) $(INSTALL_LIBGCC) \ +! install-man install-info lang.install-normal + + # Do nothing while making gcc with a cross-compiler. The person who + # makes gcc for the target machine has to know how to put a complete +--- 1869,1875 ---- + install: $(INSTALL_TARGET) ; @true + + # Copy the compiler files into directories where they will be run. +! install-normal: install-common $(INSTALL_HEADERS) lang.install-normal + + # Do nothing while making gcc with a cross-compiler. The person who + # makes gcc for the target machine has to know how to put a complete +*** gcc-2.6.3/cccp.c~ Fri Sep 1 10:42:15 1995 +--- gcc-2.6.3/cccp.c Fri Sep 1 10:42:31 1995 +*************** +*** 188,194 **** + #ifndef VMS + #ifndef HAVE_STRERROR + extern int sys_nerr; +! #if defined(bsd4_4) || defined(__NetBSD__) + extern const char *const sys_errlist[]; + #else + extern char *sys_errlist[]; +--- 188,194 ---- + #ifndef VMS + #ifndef HAVE_STRERROR + extern int sys_nerr; +! #if defined(bsd4_4) || defined(__NetBSD__) || defined(__FreeBSD__) + extern const char *const sys_errlist[]; + #else + extern char *sys_errlist[]; +*** gcc-2.6.3/gcc.c~ Fri Sep 1 10:57:20 1995 +--- gcc-2.6.3/gcc.c Fri Sep 1 10:57:36 1995 +*************** +*** 166,172 **** + #endif + + extern int sys_nerr; +! #if defined(bsd4_4) || defined(__NetBSD__) + extern const char *const sys_errlist[]; + #else + extern char *sys_errlist[]; +--- 166,172 ---- + #endif + + extern int sys_nerr; +! #if defined(bsd4_4) || defined(__NetBSD__) || defined(__FreeBSD__) + extern const char *const sys_errlist[]; + #else + extern char *sys_errlist[]; diff --git a/devel/m6811-gcc/files/patch-ac b/devel/m6811-gcc/files/patch-ac new file mode 100644 index 000000000000..e05b3f5b599d --- /dev/null +++ b/devel/m6811-gcc/files/patch-ac @@ -0,0 +1,82 @@ +*** gcc-6811-release/sample/Makefile~ Fri Sep 1 16:01:06 1995 +--- gcc-6811-release/sample/Makefile Fri Sep 1 16:01:45 1995 +*************** +*** 9,15 **** + # + CPP=./cpp + AR= +! AS=/usr/local/gnu6811/bin/as6811 + # CC=cc +! CC=/usr/local/gnu6811/bin/m6811-local-gcc + SHELL=/bin/sh +--- 9,15 ---- + # + CPP=./cpp + AR= +! AS=../xasm/asm-src/as6811 + # CC=cc +! CC=/usr/local/bin/m6811-local-gcc + SHELL=/bin/sh +*************** +*** 32,34 **** +--- 32,36 ---- + clean: + rm -f $(TARGETS) *.lst + ++ install: ++ cp ${TARGETS} ${SRC} gcb11.inc ${PREFIX}/lib/gcc-lib/m6811-local/2.6.3 +*** gcc-6811-release/xasm/asm-src/Makefile~ Fri Sep 1 16:39:12 1995 +--- gcc-6811-release/xasm/asm-src/Makefile Fri Sep 1 16:39:58 1995 +*************** +*** 9,15 **** + COMMON_OBJ= asmain.o aslex.o assym.o assubr.o asexpr.o \ + asdata.o aslist.o asout.o + +! all: as6800 as6801 as6804 as6805 as6809 as6801 as6811 asz80 asi85 + + clean: + rm *.o +--- 9,19 ---- + COMMON_OBJ= asmain.o aslex.o assym.o assubr.o asexpr.o \ + asdata.o aslist.o asout.o + +! PRGS=as6800 as6801 as6804 as6805 as6809 as6801 as6811 asz80 asi85 +! all: ${PRGS} +! +! install: ${PRGS} +! cp ${PRGS} ${PREFIX}/bin + + clean: + rm *.o +*** gcc-6811-release/xasm/lnk-src/Makefile~ Fri Sep 1 16:42:23 1995 +--- gcc-6811-release/xasm/lnk-src/Makefile Fri Sep 1 16:42:44 1995 +*************** +*** 11,15 **** +--- 11,18 ---- + aslink: $(LINK_OBJ) aslink.h + $(CC) -o aslink $(LINK_OBJ) + ++ install: ++ cp aslink ${PREFIX}/bin ++ + clean: + rm -f aslink *.o +*** gcc-6811-release/sample/crt0.s~ Tue Sep 5 09:09:28 1995 +--- gcc-6811-release/sample/crt0.s Tue Sep 5 09:09:48 1995 +*************** +*** 377,383 **** + ; end crt0.s + ; + ; .include "gios.s" +! .include "utldbg.s" + ; .include "malloc.s" + ;----------------------------------------- + ; start use code +--- 377,383 ---- + ; end crt0.s + ; + ; .include "gios.s" +! ; .include "utldbg.s" + ; .include "malloc.s" + ;----------------------------------------- + ; start use code diff --git a/devel/m6811-gcc/pkg-comment b/devel/m6811-gcc/pkg-comment new file mode 100644 index 000000000000..b30302da7817 --- /dev/null +++ b/devel/m6811-gcc/pkg-comment @@ -0,0 +1 @@ +This is the gcc-2.6.3 cross-compiler for the 6811 diff --git a/devel/m6811-gcc/pkg-descr b/devel/m6811-gcc/pkg-descr new file mode 100644 index 000000000000..69bdbbef980e --- /dev/null +++ b/devel/m6811-gcc/pkg-descr @@ -0,0 +1,37 @@ +This is a 6811 cross compiler for FreeBSD. +From the original README... + + The following are some comments and instructions on the 6811 port of the + gnu gcc compiler done by Coactive Aesthetics. + + The port was written using the GCB11 Network Microcontroller board that + is manufactured by Coactive Aesthetics. It was hosted on a NeXT system. + However, there is no assumptions and/or hardcode values within the + compiler which would prevent the compiler from working on any 6811 board + or on any host system. A port to another board would require an updated + crt0.s file which defines where the "pseudo" registers live in the memory + map and where the startup code lives. A sample crt0.s file has been + included as part of this release. + + The rest of this readme file has some technical notes relating to the + port, and installation procedures that can be used in installing the + compiler. + + Any questions, bug reports, or porting comments/questions should be sent + to gcc@coactive.com. + + Thanks, + + Otto + + -- + Otto Lind Coactive Aesthetics + otto@coactive.com P.O. Box 425967, San Francisco, CA 94142 + netcom!coactive!otto voice:(415)626-5152 fax:(415)626-6320 + +You'll probably have to edit ${PREFIX}/lib/gcc-lib/m6811-local/2.6.3/crt0.s +to suit your hardware. + +-- +eric +erich@rrnet.com diff --git a/devel/m6811-gcc/pkg-plist b/devel/m6811-gcc/pkg-plist new file mode 100644 index 000000000000..63411d8fe8be --- /dev/null +++ b/devel/m6811-gcc/pkg-plist @@ -0,0 +1,56 @@ +lib/gcc-lib/m6811-local/2.6.3/include +lib/gcc-lib/m6811-local/2.6.3/include/syslimits.h +lib/gcc-lib/m6811-local/2.6.3/include/objc +lib/gcc-lib/m6811-local/2.6.3/include/objc/hash.h +lib/gcc-lib/m6811-local/2.6.3/include/objc/list.h +lib/gcc-lib/m6811-local/2.6.3/include/objc/sarray.h +lib/gcc-lib/m6811-local/2.6.3/include/objc/objc.h +lib/gcc-lib/m6811-local/2.6.3/include/objc/objc-api.h +lib/gcc-lib/m6811-local/2.6.3/include/objc/Object.h +lib/gcc-lib/m6811-local/2.6.3/include/objc/Protocol.h +lib/gcc-lib/m6811-local/2.6.3/include/objc/encoding.h +lib/gcc-lib/m6811-local/2.6.3/include/objc/typedstream.h +lib/gcc-lib/m6811-local/2.6.3/include/stdarg.h +lib/gcc-lib/m6811-local/2.6.3/include/stddef.h +lib/gcc-lib/m6811-local/2.6.3/include/varargs.h +lib/gcc-lib/m6811-local/2.6.3/include/va-alpha.h +lib/gcc-lib/m6811-local/2.6.3/include/va-h8300.h +lib/gcc-lib/m6811-local/2.6.3/include/va-i860.h +lib/gcc-lib/m6811-local/2.6.3/include/va-i960.h +lib/gcc-lib/m6811-local/2.6.3/include/va-mips.h +lib/gcc-lib/m6811-local/2.6.3/include/va-m88k.h +lib/gcc-lib/m6811-local/2.6.3/include/va-pa.h +lib/gcc-lib/m6811-local/2.6.3/include/va-pyr.h +lib/gcc-lib/m6811-local/2.6.3/include/va-sparc.h +lib/gcc-lib/m6811-local/2.6.3/include/va-clipper.h +lib/gcc-lib/m6811-local/2.6.3/include/va-spur.h +lib/gcc-lib/m6811-local/2.6.3/include/proto.h +lib/gcc-lib/m6811-local/2.6.3/include/limits.h +lib/gcc-lib/m6811-local/2.6.3/include/README +lib/gcc-lib/m6811-local/2.6.3/include/float.h +lib/gcc-lib/m6811-local/2.6.3/cc1 +lib/gcc-lib/m6811-local/2.6.3/specs +lib/gcc-lib/m6811-local/2.6.3/cpp +lib/gcc-lib/m6811-local/2.6.3/gcb11.inc +lib/gcc-lib/m6811-local/2.6.3/crt0.s +lib/gcc-lib/m6811-local/2.6.3/gapp.s +lib/gcc-lib/m6811-local/2.6.3/gios.s +lib/gcc-lib/m6811-local/2.6.3/gnet.s +lib/gcc-lib/m6811-local/2.6.3/crt0.o +lib/gcc-lib/m6811-local/2.6.3/gapp.o +lib/gcc-lib/m6811-local/2.6.3/gios.o +lib/gcc-lib/m6811-local/2.6.3/gnet.o +lib/gcc-lib/m6811-local/2.6.3/as +lib/gcc-lib/m6811-local/2.6.3/ld +bin/m6811-local-gcc +bin/as6800 +bin/asz80 +bin/as6811 +bin/as6801 +bin/as6809 +bin/as6805 +bin/as6804 +bin/asi85 +bin/aslink +m6811-local/include/assert.h +bin/gcc11 |