summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authormrg <mrg>1999-02-14 10:06:08 +0000
committermrg <mrg>1999-02-14 10:06:08 +0000
commit20eeb189ea503550326c8d5735d52f735d52991a (patch)
tree66e9a98710739f38acb8b2f4a01fcea1fc0b79a0 /cross
parentd3d033cf1ac19c5882a98aab2d0e011d5304ecca (diff)
downloadpkgsrc-20eeb189ea503550326c8d5735d52f735d52991a.tar.gz
a netbsd/i386 ELF compiler.
Diffstat (limited to 'cross')
-rw-r--r--cross/i386-netbsdelf/Makefile20
-rw-r--r--cross/i386-netbsdelf/files/md55
-rw-r--r--cross/i386-netbsdelf/patches/patch-ab20
-rw-r--r--cross/i386-netbsdelf/patches/patch-ac20
-rw-r--r--cross/i386-netbsdelf/pkg/COMMENT1
-rw-r--r--cross/i386-netbsdelf/pkg/DESCR1
-rw-r--r--cross/i386-netbsdelf/pkg/MESSAGE12
-rw-r--r--cross/i386-netbsdelf/pkg/PLIST1
8 files changed, 80 insertions, 0 deletions
diff --git a/cross/i386-netbsdelf/Makefile b/cross/i386-netbsdelf/Makefile
new file mode 100644
index 00000000000..1bd472f0d2b
--- /dev/null
+++ b/cross/i386-netbsdelf/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/02/14 10:06:08 mrg Exp $
+#
+
+DISTVERSION= 1.3.0.0
+DISTFILES= # none
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.netbsd.org/
+
+WRKSRC= ${WRKDIR}/${BINUTILS_DISTNAME}
+
+USE_CROSS_BINUTILS= yes
+BINUTILS_GNUTARGET= elf32-i386
+BINUTILS_LDEMULATION= elf_i386
+USE_CROSS_EGCS= yes
+EGCS_FAKE_RUNTIME= yes
+
+TARGET_ARCH= i386-netbsdelf
+
+.include "../COMMON/cross.mk"
diff --git a/cross/i386-netbsdelf/files/md5 b/cross/i386-netbsdelf/files/md5
new file mode 100644
index 00000000000..b68e4cbfa34
--- /dev/null
+++ b/cross/i386-netbsdelf/files/md5
@@ -0,0 +1,5 @@
+$NetBSD: md5,v 1.1.1.1 1999/02/14 10:06:08 mrg 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/i386-netbsdelf/patches/patch-ab b/cross/i386-netbsdelf/patches/patch-ab
new file mode 100644
index 00000000000..384afcd87fe
--- /dev/null
+++ b/cross/i386-netbsdelf/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/02/14 10:06:09 mrg Exp $
+
+Index: gas/configure.in
+===================================================================
+RCS file: /cvsroot/src/gnu/dist/gas/configure.in,v
+retrieving revision 1.5
+retrieving revision 1.6
+diff -c -r1.5 -r1.6
+*** gas/configure.in 1998/12/16 14:33:14 1.5
+--- gas/configure.in 1999/01/28 22:00:20 1.6
+***************
+*** 153,158 ****
+--- 153,159 ----
+ i386-sequent-bsd*) fmt=aout em=dynix bfd_gas=yes ;;
+ i386-*-bsd*) fmt=aout em=386bsd ;;
+ i386-*-netbsd0.8) fmt=aout em=386bsd ;;
++ i386-*-netbsdelf*) fmt=elf em=nbsd bfd_gas=yes;;
+ i386-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes;;
+ i386-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes;;
+ i386-*-linux*aout* | i386-*-linuxoldld) fmt=aout em=linux ;;
diff --git a/cross/i386-netbsdelf/patches/patch-ac b/cross/i386-netbsdelf/patches/patch-ac
new file mode 100644
index 00000000000..fa3f2ca8810
--- /dev/null
+++ b/cross/i386-netbsdelf/patches/patch-ac
@@ -0,0 +1,20 @@
+$NetBSD: patch-ac,v 1.1.1.1 1999/02/14 10:06:09 mrg Exp $
+
+Index: gas/configure
+===================================================================
+RCS file: /cvsroot/src/gnu/dist/gas/configure,v
+retrieving revision 1.8
+retrieving revision 1.9
+diff -c -r1.8 -r1.9
+*** gas/configure 1998/12/16 14:33:14 1.8
+--- gas/configure 1999/01/28 22:00:20 1.9
+***************
+*** 811,816 ****
+--- 811,817 ----
+ i386-sequent-bsd*) fmt=aout em=dynix bfd_gas=yes ;;
+ i386-*-bsd*) fmt=aout em=386bsd ;;
+ i386-*-netbsd0.8) fmt=aout em=386bsd ;;
++ i386-*-netbsdelf*) fmt=elf em=nbsd bfd_gas=yes;;
+ i386-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes;;
+ i386-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes;;
+ i386-*-linux*aout* | i386-*-linuxoldld) fmt=aout em=linux ;;
diff --git a/cross/i386-netbsdelf/pkg/COMMENT b/cross/i386-netbsdelf/pkg/COMMENT
new file mode 100644
index 00000000000..39910220c11
--- /dev/null
+++ b/cross/i386-netbsdelf/pkg/COMMENT
@@ -0,0 +1 @@
+Cross-compile environment for ELF NetBSD/i386
diff --git a/cross/i386-netbsdelf/pkg/DESCR b/cross/i386-netbsdelf/pkg/DESCR
new file mode 100644
index 00000000000..b2d4c0c9d85
--- /dev/null
+++ b/cross/i386-netbsdelf/pkg/DESCR
@@ -0,0 +1 @@
+This cross-compile environment is for ELF NetBSD/i386.
diff --git a/cross/i386-netbsdelf/pkg/MESSAGE b/cross/i386-netbsdelf/pkg/MESSAGE
new file mode 100644
index 00000000000..2db7d4b6017
--- /dev/null
+++ b/cross/i386-netbsdelf/pkg/MESSAGE
@@ -0,0 +1,12 @@
+=============================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 1999/02/14 10:06:09 mrg 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}/i386-netbsdelf/include and
+${CROSSBASE}/i386-netbsdelf/lib respectively, or symlink these paths to
+the appropriate places.
+
+=============================================================================
diff --git a/cross/i386-netbsdelf/pkg/PLIST b/cross/i386-netbsdelf/pkg/PLIST
new file mode 100644
index 00000000000..28bd0073374
--- /dev/null
+++ b/cross/i386-netbsdelf/pkg/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/02/14 10:06:09 mrg Exp $