diff options
Diffstat (limited to 'cross/powerpc-netbsd')
-rw-r--r-- | cross/powerpc-netbsd/Makefile | 20 | ||||
-rw-r--r-- | cross/powerpc-netbsd/files/md5 | 5 | ||||
-rw-r--r-- | cross/powerpc-netbsd/patches/patch-aa | 13 | ||||
-rw-r--r-- | cross/powerpc-netbsd/pkg/COMMENT | 1 | ||||
-rw-r--r-- | cross/powerpc-netbsd/pkg/DESCR | 1 | ||||
-rw-r--r-- | cross/powerpc-netbsd/pkg/MESSAGE | 12 | ||||
-rw-r--r-- | cross/powerpc-netbsd/pkg/PLIST | 1 |
7 files changed, 53 insertions, 0 deletions
diff --git a/cross/powerpc-netbsd/Makefile b/cross/powerpc-netbsd/Makefile new file mode 100644 index 00000000000..a9d15ebc884 --- /dev/null +++ b/cross/powerpc-netbsd/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1 1999/01/06 01:20:28 tv Exp $ +# + +DISTVERSION= 1.3.0.0 +DISTFILES= # none + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.netbsd.org/ + +WRKSRC= ${WRKDIR}/${EGCS_DISTNAME} + +USE_CROSS_BINUTILS= yes +BINUTILS_GNUTARGET= elf32-powerpc +BINUTILS_LDEMULATION= elf32ppc +USE_CROSS_EGCS= yes +EGCS_FAKE_RUNTIME= yes + +TARGET_ARCH= powerpc-netbsd + +.include "../COMMON/cross.mk" diff --git a/cross/powerpc-netbsd/files/md5 b/cross/powerpc-netbsd/files/md5 new file mode 100644 index 00000000000..9ae43352075 --- /dev/null +++ b/cross/powerpc-netbsd/files/md5 @@ -0,0 +1,5 @@ +$NetBSD: md5,v 1.1 1999/01/06 01:20:28 tv Exp $ + +MD5 (binutils-2.9.1.tar.gz) = 8f9ad1a6e96742fd3069479171a63c22 +MD5 (egcs-1.1.1.tar.gz) = 0b3f0e856dcbb2241c183081fc7271af +MD5 (egcs-1.1.1-NetBSD-19980104.diff.gz) = 8c4d952d999ead62f6604948c65c2454 diff --git a/cross/powerpc-netbsd/patches/patch-aa b/cross/powerpc-netbsd/patches/patch-aa new file mode 100644 index 00000000000..9e2d89a7b1a --- /dev/null +++ b/cross/powerpc-netbsd/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 1999/01/06 01:20:28 tv Exp $ + +--- gcc/config/xm-netbsd.h.orig Tue Jan 5 16:59:00 1999 ++++ gcc/config/xm-netbsd.h Tue Jan 5 16:59:29 1999 +@@ -22,3 +22,8 @@ + running NetBSD. This file should not be specified as $xm_file itself; + instead $xm_file should be CPU/xm-netbsd.h, which should include both + CPU/xm-CPU.h and this file xm-netbsd.h. */ ++ ++/* XXX: temp fix for HOST_WIDE_INT breakage with PowerPC target */ ++#undef HOST_BITS_PER_LONG ++#define HOST_BITS_PER_LONG 4 ++ diff --git a/cross/powerpc-netbsd/pkg/COMMENT b/cross/powerpc-netbsd/pkg/COMMENT new file mode 100644 index 00000000000..3ece50b3842 --- /dev/null +++ b/cross/powerpc-netbsd/pkg/COMMENT @@ -0,0 +1 @@ +Cross-compile environment for NetBSD/powerpc diff --git a/cross/powerpc-netbsd/pkg/DESCR b/cross/powerpc-netbsd/pkg/DESCR new file mode 100644 index 00000000000..051c5b5ec62 --- /dev/null +++ b/cross/powerpc-netbsd/pkg/DESCR @@ -0,0 +1 @@ +This cross-compile environment is for NetBSD/powerpc. diff --git a/cross/powerpc-netbsd/pkg/MESSAGE b/cross/powerpc-netbsd/pkg/MESSAGE new file mode 100644 index 00000000000..81b6a97fa18 --- /dev/null +++ b/cross/powerpc-netbsd/pkg/MESSAGE @@ -0,0 +1,12 @@ +============================================================================= +$NetBSD: MESSAGE,v 1.1 1999/01/06 01:20:28 tv Exp $ + +This pkg DOES NOT install headers or runtime link libraries. Only the +compilers are installed. + +In order to have a complete development setup, you need to install +includes and libraries in ${CROSSBASE}/powerpc-netbsd/include and +${CROSSBASE}/powerpc-netbsd/lib respectively, or symlink these paths to +the appropriate places. + +============================================================================= diff --git a/cross/powerpc-netbsd/pkg/PLIST b/cross/powerpc-netbsd/pkg/PLIST new file mode 100644 index 00000000000..324e5b7f2d0 --- /dev/null +++ b/cross/powerpc-netbsd/pkg/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1 1999/01/06 01:20:28 tv Exp $ |