summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1998-06-03 21:04:00 +0000
committertv <tv@pkgsrc.org>1998-06-03 21:04:00 +0000
commitb861617083ad2989133ff0b2964fb6b7596a7d5b (patch)
tree9dcebc6e58e62eb2eb13bb28af041608f4a857dc /lang
parent5d405bfba7c1ca92b79b5733d865c962a7d093fc (diff)
downloadpkgsrc-b861617083ad2989133ff0b2964fb6b7596a7d5b.tar.gz
Add egcs-current pkg (not enabled in directory Makefile), EXPERIMENTAL.
Intended to follow snapshots of egcs before the 1.1 line is imported into -current.
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile3
-rw-r--r--lang/egcs-current/Makefile44
-rw-r--r--lang/egcs-current/files/md51
-rw-r--r--lang/egcs-current/patches/patch-aa15
-rw-r--r--lang/egcs-current/patches/patch-ab30
-rw-r--r--lang/egcs-current/patches/patch-ac13
-rw-r--r--lang/egcs-current/pkg/COMMENT1
-rw-r--r--lang/egcs-current/pkg/DESCR7
-rw-r--r--lang/egcs-current/pkg/PLIST.pre284
9 files changed, 397 insertions, 1 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 67edd8b8034..4c50ca6fd3b 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 1998/04/15 10:38:28 agc Exp $
+# $NetBSD: Makefile,v 1.11 1998/06/03 21:04:00 tv Exp $
# FreeBSD Id: Makefile,v 1.82 1997/09/30 07:49:24 asami Exp
#
@@ -8,6 +8,7 @@
# SUBDIR += bwbasic
# SUBDIR += cim
# SUBDIR += cmucl
+# SUBDIR += egcs-current
# SUBDIR += eiffel
SUBDIR += elk
# SUBDIR += eperl
diff --git a/lang/egcs-current/Makefile b/lang/egcs-current/Makefile
new file mode 100644
index 00000000000..26a65bfae3f
--- /dev/null
+++ b/lang/egcs-current/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1 1998/06/03 21:04:00 tv Exp $
+#
+
+DISTNAME= egcs-19980531
+CATEGORIES= lang
+MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-05-31/
+
+MAINTAINER= tv@netbsd.org
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--enable-shared --with-gnu-as
+
+USE_GMAKE= yes
+MAKE_ENV+= BISON=true
+PLIST_SRC= ${WRKSRC}/.PLIST
+
+MAN1= cccp.1 g++.1 g77.1 gcc.1
+INFO_FILES= cpp.info g77.info gcc.info
+
+post-extract:
+ @cd ${WRKSRC} && ${RM} -rf texinfo
+
+post-build:
+.if (${MACHINE_ARCH} != "vax")
+ @cd ${WRKSRC}/libraries/libstdc++ && \
+ ${MAKE} piclist && \
+ ${AR} clq libstdc++_pic.a `cat piclist` && \
+ ${RANLIB} libstdc++_pic.a
+.endif
+
+post-install:
+ ${MV} -f ${PREFIX}/bin/${MACHINE_GNU_ARCH}--netbsd-gcc ${PREFIX}/bin/cc
+ ${LN} -f ${PREFIX}/bin/g77 ${PREFIX}/bin/f77
+ @cd ${PREFIX}/bin && \
+ strip c++ c++filt cc f77 gcov protoize unprotoize
+ @cd ${PREFIX}/lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34 && \
+ strip cc1* collect2 cpp f771
+ @${CP} ${PKGDIR}/PLIST.pre ${PLIST_SRC}
+.if (${MACHINE_ARCH} != "vax")
+ @${ECHO} lib/libstdc++_pic.a >>${PLIST_SRC}
+ ${INSTALL_DATA} ${WRKSRC}/libraries/libstdc++/libstdc++_pic.a ${PREFIX}/lib/
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/egcs-current/files/md5 b/lang/egcs-current/files/md5
new file mode 100644
index 00000000000..306743b7552
--- /dev/null
+++ b/lang/egcs-current/files/md5
@@ -0,0 +1 @@
+MD5 (egcs-19980531.tar.gz) = e488cbcb4715f77ca4ac2bf59f04cb55
diff --git a/lang/egcs-current/patches/patch-aa b/lang/egcs-current/patches/patch-aa
new file mode 100644
index 00000000000..1bf91cec613
--- /dev/null
+++ b/lang/egcs-current/patches/patch-aa
@@ -0,0 +1,15 @@
+--- gcc/config/arm/netbsd.h.orig Tue May 19 11:13:23 1998
++++ gcc/config/arm/netbsd.h Sun May 31 19:01:51 1998
+@@ -145,3 +145,12 @@
+ requirements. */
+ #undef STRUCTURE_SIZE_BOUNDARY
+ #define STRUCTURE_SIZE_BOUNDARY 8
++
++#undef ASM_WEAKEN_LABEL
++#define ASM_WEAKEN_LABEL(FILE,NAME) \
++ do { fputs ("\t.global\t", FILE); assemble_name (FILE, NAME); \
++ fputs ("\n\t.weak\t", FILE); assemble_name (FILE, NAME); \
++ fputc ('\n', FILE); } while (0)
++
++#undef TYPE_OPERAND_FMT
++#define TYPE_OPERAND_FMT "#%s"
diff --git a/lang/egcs-current/patches/patch-ab b/lang/egcs-current/patches/patch-ab
new file mode 100644
index 00000000000..240f7eb58bd
--- /dev/null
+++ b/lang/egcs-current/patches/patch-ab
@@ -0,0 +1,30 @@
+--- gcc/cpp.texi.orig Sat Apr 4 12:37:40 1998
++++ gcc/cpp.texi Wed Jun 3 15:13:28 1998
+@@ -2,16 +2,6 @@
+ @setfilename cpp.info
+ @settitle The C Preprocessor
+
+-@ignore
+-@ifinfo
+-@format
+-START-INFO-DIR-ENTRY
+-* Cpp: (cpp). The C preprocessor.
+-END-INFO-DIR-ENTRY
+-@end format
+-@end ifinfo
+-@end ignore
+-
+ @c @smallbook
+ @c @cropmarks
+ @c @finalout
+@@ -71,6 +61,10 @@
+ @end titlepage
+ @page
+
++@dircategory Programming
++@direntry
++* Cpp: (cpp). The C preprocessor.
++@end direntry
+ @node Top, Global Actions,, (DIR)
+ @chapter The C Preprocessor
+
diff --git a/lang/egcs-current/patches/patch-ac b/lang/egcs-current/patches/patch-ac
new file mode 100644
index 00000000000..7ca206de83f
--- /dev/null
+++ b/lang/egcs-current/patches/patch-ac
@@ -0,0 +1,13 @@
+--- gcc/gcc.texi.orig Tue May 19 20:24:28 1998
++++ gcc/gcc.texi Wed Jun 3 15:14:41 1998
+@@ -182,6 +182,10 @@
+
+ @ifinfo
+
++@dircategory Programming
++@direntry
++* gcc: (gcc). The GNU C and C++ compilers.
++@end direntry
+ @node Top, G++ and GCC,, (DIR)
+ @top Introduction
+ @cindex introduction
diff --git a/lang/egcs-current/pkg/COMMENT b/lang/egcs-current/pkg/COMMENT
new file mode 100644
index 00000000000..d5f61a0d4ba
--- /dev/null
+++ b/lang/egcs-current/pkg/COMMENT
@@ -0,0 +1 @@
+Cygnus's experimental GNU C, C++, and FORTRAN-77 compiler.
diff --git a/lang/egcs-current/pkg/DESCR b/lang/egcs-current/pkg/DESCR
new file mode 100644
index 00000000000..8d8cfe9c088
--- /dev/null
+++ b/lang/egcs-current/pkg/DESCR
@@ -0,0 +1,7 @@
+This version of egcs, Cygnus's own gcc, is a snapshot release. That means
+the source is experimental, and not heavily tested.
+
+The egcs compiler includes gcc (the GNU C compiler), g++ (the GNU C++
+compiler), g77 (the GNU FORTRAN 77 compiler), and libstdc++ (the GNU ANSI
+C++ library). Currently, a shared C++ library is only available for a.out
+platforms (this is being worked on).
diff --git a/lang/egcs-current/pkg/PLIST.pre b/lang/egcs-current/pkg/PLIST.pre
new file mode 100644
index 00000000000..fd9485848da
--- /dev/null
+++ b/lang/egcs-current/pkg/PLIST.pre
@@ -0,0 +1,284 @@
+${MACHINE_GNU_ARCH}--netbsd/include/_G_config.h
+${MACHINE_GNU_ARCH}--netbsd/lib/libiberty.a
+@dirrm ${MACHINE_GNU_ARCH}--netbsd/include
+@dirrm ${MACHINE_GNU_ARCH}--netbsd/lib
+@dirrm ${MACHINE_GNU_ARCH}--netbsd
+bin/c++
+bin/c++filt
+bin/cc
+bin/f77
+bin/g++
+bin/g77
+bin/gcc
+bin/gcov
+bin/protoize
+bin/unprotoize
+include/f2c.h
+include/g++/PlotFile.h
+include/g++/SFile.h
+include/g++/algo.h
+include/g++/algobase.h
+include/g++/algorithm
+include/g++/alloc.h
+include/g++/builtinbuf.h
+include/g++/bvector.h
+include/g++/cassert
+include/g++/cctype
+include/g++/cerrno
+include/g++/cfloat
+include/g++/ciso646
+include/g++/climits
+include/g++/clocale
+include/g++/cmath
+include/g++/complex
+include/g++/complex.h
+include/g++/csetjmp
+include/g++/csignal
+include/g++/cstdarg
+include/g++/cstddef
+include/g++/cstdio
+include/g++/cstdlib
+include/g++/cstring
+include/g++/ctime
+include/g++/cwchar
+include/g++/cwctype
+include/g++/defalloc.h
+include/g++/deque
+include/g++/deque.h
+include/g++/dummy.h
+include/g++/editbuf.h
+include/g++/floatio.h
+include/g++/fstream
+include/g++/fstream.h
+include/g++/function.h
+include/g++/functional
+include/g++/hash_map
+include/g++/hash_map.h
+include/g++/hash_set
+include/g++/hash_set.h
+include/g++/hashtable.h
+include/g++/heap.h
+include/g++/indstream.h
+include/g++/iolibio.h
+include/g++/iomanip
+include/g++/iomanip.h
+include/g++/iosfwd
+include/g++/iostdio.h
+include/g++/iostream
+include/g++/iostream.h
+include/g++/iostreamP.h
+include/g++/istream.h
+include/g++/iterator
+include/g++/iterator.h
+include/g++/libio.h
+include/g++/libioP.h
+include/g++/list
+include/g++/list.h
+include/g++/map
+include/g++/map.h
+include/g++/memory
+include/g++/multimap.h
+include/g++/multiset.h
+include/g++/numeric
+include/g++/ostream.h
+include/g++/pair.h
+include/g++/parsestream.h
+include/g++/pfstream.h
+include/g++/procbuf.h
+include/g++/pthread_alloc
+include/g++/pthread_alloc.h
+include/g++/queue
+include/g++/rope
+include/g++/rope.h
+include/g++/ropeimpl.h
+include/g++/set
+include/g++/set.h
+include/g++/slist
+include/g++/slist.h
+include/g++/stack
+include/g++/stack.h
+include/g++/std/bastring.cc
+include/g++/std/bastring.h
+include/g++/std/complext.cc
+include/g++/std/complext.h
+include/g++/std/dcomplex.h
+include/g++/std/fcomplex.h
+include/g++/std/ldcomplex.h
+include/g++/std/straits.h
+include/g++/stdexcept
+include/g++/stdiostream.h
+include/g++/stl.h
+include/g++/stl_algo.h
+include/g++/stl_algobase.h
+include/g++/stl_alloc.h
+include/g++/stl_bvector.h
+include/g++/stl_config.h
+include/g++/stl_construct.h
+include/g++/stl_deque.h
+include/g++/stl_function.h
+include/g++/stl_hash_fun.h
+include/g++/stl_hash_map.h
+include/g++/stl_hash_set.h
+include/g++/stl_hashtable.h
+include/g++/stl_heap.h
+include/g++/stl_iterator.h
+include/g++/stl_list.h
+include/g++/stl_map.h
+include/g++/stl_multimap.h
+include/g++/stl_multiset.h
+include/g++/stl_numeric.h
+include/g++/stl_pair.h
+include/g++/stl_queue.h
+include/g++/stl_raw_storage_iter.h
+include/g++/stl_relops.h
+include/g++/stl_rope.h
+include/g++/stl_set.h
+include/g++/stl_slist.h
+include/g++/stl_stack.h
+include/g++/stl_tempbuf.h
+include/g++/stl_tree.h
+include/g++/stl_uninitialized.h
+include/g++/stl_vector.h
+include/g++/stream.h
+include/g++/streambuf.h
+include/g++/strfile.h
+include/g++/string
+include/g++/strstream
+include/g++/strstream.h
+include/g++/tempbuf.h
+include/g++/tree.h
+include/g++/type_traits.h
+include/g++/utility
+include/g++/vector
+include/g++/vector.h
+@dirrm include/g++/std
+@dirrm include/g++
+@unexec %D/bin/install-info --delete %D/info/cpp.info %D/info/dir
+@unexec %D/bin/install-info --delete %D/info/g77.info %D/info/dir
+@unexec %D/bin/install-info --delete %D/info/gcc.info %D/info/dir
+info/cpp.info
+info/cpp.info-1
+info/cpp.info-2
+info/cpp.info-3
+info/g77.info
+info/g77.info-1
+info/g77.info-10
+info/g77.info-11
+info/g77.info-12
+info/g77.info-13
+info/g77.info-14
+info/g77.info-15
+info/g77.info-16
+info/g77.info-17
+info/g77.info-18
+info/g77.info-19
+info/g77.info-2
+info/g77.info-20
+info/g77.info-3
+info/g77.info-4
+info/g77.info-5
+info/g77.info-6
+info/g77.info-7
+info/g77.info-8
+info/g77.info-9
+info/gcc.info
+info/gcc.info-1
+info/gcc.info-10
+info/gcc.info-11
+info/gcc.info-12
+info/gcc.info-13
+info/gcc.info-14
+info/gcc.info-15
+info/gcc.info-16
+info/gcc.info-17
+info/gcc.info-18
+info/gcc.info-19
+info/gcc.info-2
+info/gcc.info-20
+info/gcc.info-21
+info/gcc.info-22
+info/gcc.info-23
+info/gcc.info-24
+info/gcc.info-25
+info/gcc.info-26
+info/gcc.info-27
+info/gcc.info-28
+info/gcc.info-29
+info/gcc.info-3
+info/gcc.info-4
+info/gcc.info-5
+info/gcc.info-6
+info/gcc.info-7
+info/gcc.info-8
+info/gcc.info-9
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/SYSCALLS.c.X
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/cc1
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/cc1obj
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/cc1plus
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/collect2
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/cpp
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/f771
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/README
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/assert.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/exception
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/float.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/iso646.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/limits.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/math.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/new
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/new.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/objc/NXConstStr.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/objc/Object.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/objc/Protocol.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/objc/encoding.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/objc/hash.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/objc/objc-api.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/objc/objc-list.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/objc/objc.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/objc/sarray.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/objc/thr.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/objc/typedstream.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/proto.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/stdarg.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/stdbool.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/stddef.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/syslimits.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/typeinfo
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/va-alpha.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/va-arc.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/va-clipper.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/va-h8300.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/va-i860.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/va-i960.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/va-m32r.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/va-m88k.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/va-mips.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/va-mn10200.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/va-mn10300.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/va-pa.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/va-ppc.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/va-pyr.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/va-sh.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/va-sparc.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/va-spur.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/va-v850.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/varargs.h
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/libgcc.a
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/libobjc.a
+lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/specs
+@dirrm lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include/objc
+@dirrm lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34/include
+@dirrm lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd/egcs-2.91.34
+@dirrm lib/gcc-lib/${MACHINE_GNU_ARCH}--netbsd
+@dirrm lib/gcc-lib
+lib/libf2c.a
+lib/libiberty.a
+lib/libstdc++.a
+man/man1/cccp.1
+man/man1/g++.1
+man/man1/g77.1
+man/man1/gcc.1
+@exec %D/bin/install-info %D/info/cpp.info %D/info/dir
+@exec %D/bin/install-info %D/info/g77.info %D/info/dir
+@exec %D/bin/install-info %D/info/gcc.info %D/info/dir
+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir