summaryrefslogtreecommitdiff
path: root/devel/prc-tools-binutils
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-04-25 17:39:16 +0000
committerwiz <wiz@pkgsrc.org>2001-04-25 17:39:16 +0000
commit9660ab3557d28592d0a3954cf7a8039afe9ae90c (patch)
treed118654cb51dcb716327b971b81b226d4a5265f3 /devel/prc-tools-binutils
parentf9f0edb39f3566564e55a6afe22e730ec85f4ad0 (diff)
downloadpkgsrc-9660ab3557d28592d0a3954cf7a8039afe9ae90c.tar.gz
PRC-Tools is a complete compiler tool chain for building Palm OS
applications in C or C++. It is free software. The PRC-Tools package includes patched versions of the GNU packages GCC, binutils, and gdb, along with various post-linker tools to produce Palm OS .PRC files. Supplied by Dieter Baron.
Diffstat (limited to 'devel/prc-tools-binutils')
-rw-r--r--devel/prc-tools-binutils/Makefile13
-rw-r--r--devel/prc-tools-binutils/distinfo11
-rw-r--r--devel/prc-tools-binutils/patches/patch-aa37
-rw-r--r--devel/prc-tools-binutils/patches/patch-ab13
-rw-r--r--devel/prc-tools-binutils/patches/patch-ac13
-rw-r--r--devel/prc-tools-binutils/patches/patch-ad21
-rw-r--r--devel/prc-tools-binutils/patches/patch-ae63
-rw-r--r--devel/prc-tools-binutils/pkg/DESCR5
-rw-r--r--devel/prc-tools-binutils/pkg/PLIST46
9 files changed, 222 insertions, 0 deletions
diff --git a/devel/prc-tools-binutils/Makefile b/devel/prc-tools-binutils/Makefile
new file mode 100644
index 00000000000..8f6847d4a88
--- /dev/null
+++ b/devel/prc-tools-binutils/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+#
+
+PKGNAME= prc-tools-binutils-${PRC_TOOLS_VERS}
+
+COMMENT= binutils and host tools for GNU tool chain for Palm cross development
+
+BASE_DIST= binutils
+BASE_VERS= 2.9.1
+
+USE_LIBINTL= YES
+
+.include "../../devel/prc-tools/Makefile.common"
diff --git a/devel/prc-tools-binutils/distinfo b/devel/prc-tools-binutils/distinfo
new file mode 100644
index 00000000000..78d1d77317b
--- /dev/null
+++ b/devel/prc-tools-binutils/distinfo
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+SHA1 (prc-tools-2.0.tar.gz) = 0d0ffc4a2f2e9ece8f4a6f66ded2a57c4a551ded
+Size (prc-tools-2.0.tar.gz) = 265333 bytes
+SHA1 (binutils-2.9.1.tar.gz) = 9df3cdcd34f81118ee403f8794b277ad28a57e14
+Size (binutils-2.9.1.tar.gz) = 5694541 bytes
+SHA1 (patch-aa) = f14227f15679b2f681809bb5c71381bea2760994
+SHA1 (patch-ab) = fd2de0b08c5f9b7bd1c26634d4fac3a6c1eb7e06
+SHA1 (patch-ac) = 4e6960f2943fa79d8240839e653869b037dfdaf7
+SHA1 (patch-ad) = bc1b3c96a553b88a9c2a34d2754af5e5ce2ce2bd
+SHA1 (patch-ae) = 8ec6138d79b3dc032d0e08d93facc3dcee451d50
diff --git a/devel/prc-tools-binutils/patches/patch-aa b/devel/prc-tools-binutils/patches/patch-aa
new file mode 100644
index 00000000000..7a8770c8180
--- /dev/null
+++ b/devel/prc-tools-binutils/patches/patch-aa
@@ -0,0 +1,37 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+--- Makefile.in.orig Fri Jan 19 05:25:21 2001
++++ Makefile.in Fri Jan 19 05:35:03 2001
+@@ -18,9 +18,13 @@
+ INSTALL = @INSTALL@
+ INSTALL_DATA = @INSTALL_DATA@
+
+-host_subdirs = $(configured_subdirs) doc tools
++#host_subdirs = $(configured_subdirs) doc tools
++host_subdirs = binutils tools
+ target_subdirs = crt libc libm
+
++all: all-host
++install: install-host
++
+ # This target will only work if you are willing to do all your building as
+ # a user who can write to your install directory, i.e., if you build as root
+ # or if you're on an unprotected file system like Windows.
+@@ -31,7 +35,7 @@
+ all-host:
+ for dir in `echo $(host_subdirs) | sed -e 's/gcc//' -e 's/make//'`; do \
+ if [ -f ./$${dir}/Makefile ]; then \
+- if (cd $${dir} && $(MAKE) all info); then true; else exit 1; fi; \
++ if (cd $${dir} && $(MAKE) all); then true; else exit 1; fi; \
+ fi; \
+ done
+
+@@ -50,7 +54,7 @@
+ install-host:
+ for dir in `echo $(host_subdirs) | sed -e 's/gcc//' -e 's/make//'`; do \
+ if [ -f ./$${dir}/Makefile ]; then \
+- if (cd $${dir} && $(MAKE) install install-info); then true; else exit 1; fi; \
++ if (cd $${dir} && $(MAKE) install); then true; else exit 1; fi; \
+ fi; \
+ done
+
diff --git a/devel/prc-tools-binutils/patches/patch-ab b/devel/prc-tools-binutils/patches/patch-ab
new file mode 100644
index 00000000000..1ed3aa01b1e
--- /dev/null
+++ b/devel/prc-tools-binutils/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+--- binutils/libiberty/strerror.c.orig Thu Jan 18 23:47:31 2001
++++ binutils/libiberty/strerror.c Thu Jan 18 23:44:32 2001
+@@ -458,7 +458,7 @@
+ #ifdef NEED_sys_errlist
+
+ static int sys_nerr;
+-static const char **sys_errlist;
++static const char * const *sys_errlist;
+
+ #else
+
diff --git a/devel/prc-tools-binutils/patches/patch-ac b/devel/prc-tools-binutils/patches/patch-ac
new file mode 100644
index 00000000000..f70569c44e8
--- /dev/null
+++ b/devel/prc-tools-binutils/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+--- tools/Makefile.in.orig Fri Jan 19 05:51:55 2001
++++ tools/Makefile.in Fri Jan 19 05:52:58 2001
+@@ -15,7 +15,7 @@
+ CFLAGS = @CFLAGS@
+ CXX = @CXX@
+ CXXFLAGS = @CXXFLAGS@
+-LDFLAGS = @LDFLAGS@
++LDFLAGS = @LDFLAGS@ @LIBS@
+
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
diff --git a/devel/prc-tools-binutils/patches/patch-ad b/devel/prc-tools-binutils/patches/patch-ad
new file mode 100644
index 00000000000..57d4e6c7574
--- /dev/null
+++ b/devel/prc-tools-binutils/patches/patch-ad
@@ -0,0 +1,21 @@
+$NetBSD: patch-ad,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+--- binutils/Makefile.in.orig Mon Mar 19 18:07:30 2001
++++ binutils/Makefile.in Mon Mar 19 18:12:09 2001
+@@ -597,8 +597,6 @@
+ install-autoconf \
+ install-automake \
+ install-bash \
+- install-bfd \
+- install-opcodes \
+ install-binutils \
+ install-bison \
+ install-byacc \
+@@ -629,7 +627,6 @@
+ install-itcl \
+ install-ld \
+ install-libgui \
+- install-libiberty \
+ install-m4 \
+ install-make \
+ install-mmalloc \
diff --git a/devel/prc-tools-binutils/patches/patch-ae b/devel/prc-tools-binutils/patches/patch-ae
new file mode 100644
index 00000000000..c3430908f29
--- /dev/null
+++ b/devel/prc-tools-binutils/patches/patch-ae
@@ -0,0 +1,63 @@
+$NetBSD: patch-ae,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+
+--- tools/def.l.orig Tue Apr 24 08:15:48 2001
++++ tools/def.l Tue Apr 24 08:16:23 2001
+@@ -36,7 +36,7 @@
+ #include "def.tab.h"
+ #include "pfdheader.h"
+
+-static char *dup(const char *s);
++static char *my_dup(const char *s);
+ %}
+
+ %x comment
+@@ -65,14 +65,14 @@
+
+ <sstr>\' |
+ <dstr>\" { BEGIN(INITIAL); *strp = '\0';
+- yylval.str = dup(str_buffer); return STR; }
++ yylval.str = my_dup(str_buffer); return STR; }
+
+ <sstr,dstr>\\\n lineno++;
+ <sstr,dstr>\n { einfo(E_FILELINE | E_WARNING,
+ "string constant terminated by end of line");
+ lineno++;
+ BEGIN(INITIAL); *strp = '\0';
+- yylval.str = dup(str_buffer); return STR; }
++ yylval.str = my_dup(str_buffer); return STR; }
+
+ <sstr,dstr>\\[0-7]{1,3} *strp++ = (char)strtol(&yytext[1], NULL, 8);
+
+@@ -94,13 +94,13 @@
+ \< { strp = str_buffer; BEGIN(fstr); }
+
+ <fstr>\> { BEGIN(INITIAL); *strp = '\0';
+- yylval.str = dup (str_buffer); return FNAME; }
++ yylval.str = my_dup (str_buffer); return FNAME; }
+
+ <fstr>\n { einfo (E_FILELINE | E_WARNING,
+ "filename terminated by end of line");
+ lineno++;
+ BEGIN(INITIAL); *strp = '\0';
+- yylval.str = dup (str_buffer); return FNAME; }
++ yylval.str = my_dup (str_buffer); return FNAME; }
+
+ <fstr>[^\n\>]+ { strcpy (strp, yytext); strp += yyleng; }
+
+@@ -148,7 +148,7 @@
+
+ /* Other words ("identifiers", but for us they're unquoted strings): */
+
+-[A-Za-z_][A-Za-z0-9_]* { yylval.str = dup(yytext); return STR; }
++[A-Za-z_][A-Za-z0-9_]* { yylval.str = my_dup(yytext); return STR; }
+
+ /* Punctuation: */
+
+@@ -166,6 +166,6 @@
+ extern struct string_store *lexer_store;
+
+ static char *
+-dup(const char *s) {
++my_dup(const char *s) {
+ return insert_string(lexer_store, s);
+ }
diff --git a/devel/prc-tools-binutils/pkg/DESCR b/devel/prc-tools-binutils/pkg/DESCR
new file mode 100644
index 00000000000..80a1dbfdd52
--- /dev/null
+++ b/devel/prc-tools-binutils/pkg/DESCR
@@ -0,0 +1,5 @@
+PRC-Tools is a complete compiler tool chain for building Palm OS
+applications in C or C++.
+
+This is a modified version of GNU binutils to function as part of
+the tool chain and host tools from PRC-Tools.
diff --git a/devel/prc-tools-binutils/pkg/PLIST b/devel/prc-tools-binutils/pkg/PLIST
new file mode 100644
index 00000000000..9d07937ffc3
--- /dev/null
+++ b/devel/prc-tools-binutils/pkg/PLIST
@@ -0,0 +1,46 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/25 17:39:16 wiz Exp $
+bin/build-prc
+bin/m68k-palmos-addr2line
+bin/m68k-palmos-ar
+bin/m68k-palmos-as
+bin/m68k-palmos-c++filt
+bin/m68k-palmos-gasp
+bin/m68k-palmos-ld
+bin/m68k-palmos-nm
+bin/m68k-palmos-obj-res
+bin/m68k-palmos-objcopy
+bin/m68k-palmos-objdump
+bin/m68k-palmos-ranlib
+bin/m68k-palmos-size
+bin/m68k-palmos-strings
+bin/m68k-palmos-strip
+bin/multigen
+bin/obj-res
+m68k-palmos/bin/ar
+m68k-palmos/bin/as
+m68k-palmos/bin/ld
+m68k-palmos/bin/nm
+m68k-palmos/bin/ranlib
+m68k-palmos/bin/strip
+m68k-palmos/lib/ldscripts/m68kcoff.x
+m68k-palmos/lib/ldscripts/m68kcoff.xbn
+m68k-palmos/lib/ldscripts/m68kcoff.xn
+m68k-palmos/lib/ldscripts/m68kcoff.xr
+m68k-palmos/lib/ldscripts/m68kcoff.xu
+man/man1/m68k-palmos-addr2line.1
+man/man1/m68k-palmos-ar.1
+man/man1/m68k-palmos-as.1
+man/man1/m68k-palmos-c++filt.1
+man/man1/m68k-palmos-ld.1
+man/man1/m68k-palmos-nlmconv.1
+man/man1/m68k-palmos-nm.1
+man/man1/m68k-palmos-objcopy.1
+man/man1/m68k-palmos-objdump.1
+man/man1/m68k-palmos-ranlib.1
+man/man1/m68k-palmos-size.1
+man/man1/m68k-palmos-strings.1
+man/man1/m68k-palmos-strip.1
+@dirrm m68k-palmos/lib/ldscripts
+@dirrm m68k-palmos/lib
+@dirrm m68k-palmos/bin
+@dirrm m68k-palmos