summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cross/h8300-hms-gcc/DESCR1
-rw-r--r--cross/h8300-hms-gcc/Makefile49
-rw-r--r--cross/h8300-hms-gcc/PLIST207
-rw-r--r--cross/h8300-hms-gcc/distinfo8
4 files changed, 265 insertions, 0 deletions
diff --git a/cross/h8300-hms-gcc/DESCR b/cross/h8300-hms-gcc/DESCR
new file mode 100644
index 00000000000..8b8efa5243d
--- /dev/null
+++ b/cross/h8300-hms-gcc/DESCR
@@ -0,0 +1 @@
+gcc for hitachi h8300-hms cross-compile environment
diff --git a/cross/h8300-hms-gcc/Makefile b/cross/h8300-hms-gcc/Makefile
new file mode 100644
index 00000000000..25c11271f42
--- /dev/null
+++ b/cross/h8300-hms-gcc/Makefile
@@ -0,0 +1,49 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/06/27 22:29:09 dmcmahill Exp $
+
+DISTNAME= gcc-core-3.1
+PKGNAME= cross-h8300-hms-gcc-3.1
+CATEGORIES= cross
+MASTER_SITES= ftp://ftp.gnu.org/gnu/gcc/gcc-3.1/ \
+ ftp://sources.redhat.com/pub/newlib/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} newlib-1.10.0.tar.gz
+
+PATCH_SITES= http://telia.dl.sourceforge.net/sourceforge/h8300-hms/
+PATCHFILES= h8300-hms-gcc-3.1-1.patch
+PATCH_DIST_ARGS= -d ${SRCDIR} -E -p1
+
+MAINTAINER= oishi@ims.ac.jp
+HOMEPAGE= #empty
+COMMENT= gcc compiler for h8300-hms
+
+DEPENDS+= cross-h8300-hms-binutils-*:../../cross/h8300-hms-binutils
+
+USE_GMAKE= yes
+INSTALL_SUBDIR= libexec/cross-h8300-hms
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS+= --prefix=${LOCALBASE}/${INSTALL_SUBDIR}
+CONFIGURE_ARGS+= --infodir=${LOCALBASE}/${INSTALL_SUBDIR}/gcc
+CONFIGURE_ARGS+= --target=h8300-hms
+CONFIGURE_ARGS+= --enable-languages=c
+CONFIGURE_ARGS+= --with-newlib
+CONFIGURE_SCRIPT= ${SRCDIR}/configure
+SRCDIR= ${WRKDIR}/gcc-3.1
+WRKSRC= ${WRKDIR}/objdir
+ALL_TARGET= CFLAGS="-O2 -fomit-frame-pointer" all
+
+post-extract:
+ ${LN} -s ${WRKDIR}/newlib-1.10.0/newlib ${SRCDIR}/newlib
+ ${MKDIR} ${WRKSRC}
+
+post-install:
+ for f in h8300-hms-cpp h8300-hms-gcc \
+ h8300-hms-gccbug h8300-hms-gcov ; do \
+ ${LN} -s ../${INSTALL_SUBDIR}/bin/$$f ${LOCALBASE}/bin/$$f ; \
+ done
+
+GCC_VERSION!= gcc --version
+.if (${GCC_VERSION:C/-.*$$//} == egcs)
+# "egcs" cannot be used, as this package tickles c++ compiler bugs
+.include "../../lang/gcc/Makefile.gcc"
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/cross/h8300-hms-gcc/PLIST b/cross/h8300-hms-gcc/PLIST
new file mode 100644
index 00000000000..e21c9369dd9
--- /dev/null
+++ b/cross/h8300-hms-gcc/PLIST
@@ -0,0 +1,207 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/06/27 22:29:09 dmcmahill Exp $
+bin/h8300-hms-cpp
+bin/h8300-hms-gcc
+bin/h8300-hms-gccbug
+bin/h8300-hms-gcov
+libexec/cross-h8300-hms/bin/h8300-hms-cpp
+libexec/cross-h8300-hms/bin/h8300-hms-gcc
+libexec/cross-h8300-hms/bin/h8300-hms-gccbug
+libexec/cross-h8300-hms/bin/h8300-hms-gcov
+libexec/cross-h8300-hms/gcc/cpp.info
+libexec/cross-h8300-hms/gcc/cpp.info-1
+libexec/cross-h8300-hms/gcc/cpp.info-2
+libexec/cross-h8300-hms/gcc/cpp.info-3
+libexec/cross-h8300-hms/gcc/cpp.info-4
+libexec/cross-h8300-hms/gcc/cppinternals.info
+libexec/cross-h8300-hms/gcc/gcc.info
+libexec/cross-h8300-hms/gcc/gcc.info-1
+libexec/cross-h8300-hms/gcc/gcc.info-10
+libexec/cross-h8300-hms/gcc/gcc.info-11
+libexec/cross-h8300-hms/gcc/gcc.info-12
+libexec/cross-h8300-hms/gcc/gcc.info-13
+libexec/cross-h8300-hms/gcc/gcc.info-14
+libexec/cross-h8300-hms/gcc/gcc.info-15
+libexec/cross-h8300-hms/gcc/gcc.info-16
+libexec/cross-h8300-hms/gcc/gcc.info-17
+libexec/cross-h8300-hms/gcc/gcc.info-18
+libexec/cross-h8300-hms/gcc/gcc.info-19
+libexec/cross-h8300-hms/gcc/gcc.info-2
+libexec/cross-h8300-hms/gcc/gcc.info-20
+libexec/cross-h8300-hms/gcc/gcc.info-21
+libexec/cross-h8300-hms/gcc/gcc.info-22
+libexec/cross-h8300-hms/gcc/gcc.info-23
+libexec/cross-h8300-hms/gcc/gcc.info-3
+libexec/cross-h8300-hms/gcc/gcc.info-4
+libexec/cross-h8300-hms/gcc/gcc.info-5
+libexec/cross-h8300-hms/gcc/gcc.info-6
+libexec/cross-h8300-hms/gcc/gcc.info-7
+libexec/cross-h8300-hms/gcc/gcc.info-8
+libexec/cross-h8300-hms/gcc/gcc.info-9
+libexec/cross-h8300-hms/gcc/gccint.info
+libexec/cross-h8300-hms/gcc/gccint.info-1
+libexec/cross-h8300-hms/gcc/gccint.info-10
+libexec/cross-h8300-hms/gcc/gccint.info-11
+libexec/cross-h8300-hms/gcc/gccint.info-12
+libexec/cross-h8300-hms/gcc/gccint.info-13
+libexec/cross-h8300-hms/gcc/gccint.info-14
+libexec/cross-h8300-hms/gcc/gccint.info-15
+libexec/cross-h8300-hms/gcc/gccint.info-16
+libexec/cross-h8300-hms/gcc/gccint.info-17
+libexec/cross-h8300-hms/gcc/gccint.info-18
+libexec/cross-h8300-hms/gcc/gccint.info-19
+libexec/cross-h8300-hms/gcc/gccint.info-2
+libexec/cross-h8300-hms/gcc/gccint.info-20
+libexec/cross-h8300-hms/gcc/gccint.info-21
+libexec/cross-h8300-hms/gcc/gccint.info-22
+libexec/cross-h8300-hms/gcc/gccint.info-23
+libexec/cross-h8300-hms/gcc/gccint.info-3
+libexec/cross-h8300-hms/gcc/gccint.info-4
+libexec/cross-h8300-hms/gcc/gccint.info-5
+libexec/cross-h8300-hms/gcc/gccint.info-6
+libexec/cross-h8300-hms/gcc/gccint.info-7
+libexec/cross-h8300-hms/gcc/gccint.info-8
+libexec/cross-h8300-hms/gcc/gccint.info-9
+libexec/cross-h8300-hms/h8300-hms/bin/gcc
+libexec/cross-h8300-hms/h8300-hms/include/_ansi.h
+libexec/cross-h8300-hms/h8300-hms/include/_syslist.h
+libexec/cross-h8300-hms/h8300-hms/include/alloca.h
+libexec/cross-h8300-hms/h8300-hms/include/ar.h
+libexec/cross-h8300-hms/h8300-hms/include/assert.h
+libexec/cross-h8300-hms/h8300-hms/include/ctype.h
+libexec/cross-h8300-hms/h8300-hms/include/dirent.h
+libexec/cross-h8300-hms/h8300-hms/include/errno.h
+libexec/cross-h8300-hms/h8300-hms/include/fastmath.h
+libexec/cross-h8300-hms/h8300-hms/include/fcntl.h
+libexec/cross-h8300-hms/h8300-hms/include/grp.h
+libexec/cross-h8300-hms/h8300-hms/include/ieeefp.h
+libexec/cross-h8300-hms/h8300-hms/include/locale.h
+libexec/cross-h8300-hms/h8300-hms/include/machine/ansi.h
+libexec/cross-h8300-hms/h8300-hms/include/machine/fastmath.h
+libexec/cross-h8300-hms/h8300-hms/include/machine/ieeefp.h
+libexec/cross-h8300-hms/h8300-hms/include/machine/setjmp-dj.h
+libexec/cross-h8300-hms/h8300-hms/include/machine/setjmp.h
+libexec/cross-h8300-hms/h8300-hms/include/machine/time.h
+libexec/cross-h8300-hms/h8300-hms/include/machine/types.h
+libexec/cross-h8300-hms/h8300-hms/include/malloc.h
+libexec/cross-h8300-hms/h8300-hms/include/math.h
+libexec/cross-h8300-hms/h8300-hms/include/paths.h
+libexec/cross-h8300-hms/h8300-hms/include/process.h
+libexec/cross-h8300-hms/h8300-hms/include/pthread.h
+libexec/cross-h8300-hms/h8300-hms/include/pwd.h
+libexec/cross-h8300-hms/h8300-hms/include/reent.h
+libexec/cross-h8300-hms/h8300-hms/include/regdef.h
+libexec/cross-h8300-hms/h8300-hms/include/setjmp.h
+libexec/cross-h8300-hms/h8300-hms/include/signal.h
+libexec/cross-h8300-hms/h8300-hms/include/stdio.h
+libexec/cross-h8300-hms/h8300-hms/include/stdlib.h
+libexec/cross-h8300-hms/h8300-hms/include/string.h
+libexec/cross-h8300-hms/h8300-hms/include/sys/_types.h
+libexec/cross-h8300-hms/h8300-hms/include/sys/config.h
+libexec/cross-h8300-hms/h8300-hms/include/sys/dirent.h
+libexec/cross-h8300-hms/h8300-hms/include/sys/errno.h
+libexec/cross-h8300-hms/h8300-hms/include/sys/fcntl.h
+libexec/cross-h8300-hms/h8300-hms/include/sys/features.h
+libexec/cross-h8300-hms/h8300-hms/include/sys/file.h
+libexec/cross-h8300-hms/h8300-hms/include/sys/param.h
+libexec/cross-h8300-hms/h8300-hms/include/sys/reent.h
+libexec/cross-h8300-hms/h8300-hms/include/sys/resource.h
+libexec/cross-h8300-hms/h8300-hms/include/sys/sched.h
+libexec/cross-h8300-hms/h8300-hms/include/sys/signal.h
+libexec/cross-h8300-hms/h8300-hms/include/sys/stat-dj.h
+libexec/cross-h8300-hms/h8300-hms/include/sys/stat.h
+libexec/cross-h8300-hms/h8300-hms/include/sys/time.h
+libexec/cross-h8300-hms/h8300-hms/include/sys/timeb.h
+libexec/cross-h8300-hms/h8300-hms/include/sys/times.h
+libexec/cross-h8300-hms/h8300-hms/include/sys/types.h
+libexec/cross-h8300-hms/h8300-hms/include/sys/unistd.h
+libexec/cross-h8300-hms/h8300-hms/include/sys/utime.h
+libexec/cross-h8300-hms/h8300-hms/include/sys/wait.h
+libexec/cross-h8300-hms/h8300-hms/include/termios.h
+libexec/cross-h8300-hms/h8300-hms/include/time.h
+libexec/cross-h8300-hms/h8300-hms/include/unctrl.h
+libexec/cross-h8300-hms/h8300-hms/include/unistd.h
+libexec/cross-h8300-hms/h8300-hms/include/utime.h
+libexec/cross-h8300-hms/h8300-hms/include/utmp.h
+libexec/cross-h8300-hms/h8300-hms/lib/crt0.o
+libexec/cross-h8300-hms/h8300-hms/lib/h8300h/crt0.o
+libexec/cross-h8300-hms/h8300-hms/lib/h8300h/int32/crt0.o
+libexec/cross-h8300-hms/h8300-hms/lib/h8300h/int32/libc.a
+libexec/cross-h8300-hms/h8300-hms/lib/h8300h/int32/libg.a
+libexec/cross-h8300-hms/h8300-hms/lib/h8300h/int32/libiberty.a
+libexec/cross-h8300-hms/h8300-hms/lib/h8300h/int32/libm.a
+libexec/cross-h8300-hms/h8300-hms/lib/h8300h/libc.a
+libexec/cross-h8300-hms/h8300-hms/lib/h8300h/libg.a
+libexec/cross-h8300-hms/h8300-hms/lib/h8300h/libiberty.a
+libexec/cross-h8300-hms/h8300-hms/lib/h8300h/libm.a
+libexec/cross-h8300-hms/h8300-hms/lib/h8300s/crt0.o
+libexec/cross-h8300-hms/h8300-hms/lib/h8300s/int32/crt0.o
+libexec/cross-h8300-hms/h8300-hms/lib/h8300s/int32/libc.a
+libexec/cross-h8300-hms/h8300-hms/lib/h8300s/int32/libg.a
+libexec/cross-h8300-hms/h8300-hms/lib/h8300s/int32/libiberty.a
+libexec/cross-h8300-hms/h8300-hms/lib/h8300s/int32/libm.a
+libexec/cross-h8300-hms/h8300-hms/lib/h8300s/libc.a
+libexec/cross-h8300-hms/h8300-hms/lib/h8300s/libg.a
+libexec/cross-h8300-hms/h8300-hms/lib/h8300s/libiberty.a
+libexec/cross-h8300-hms/h8300-hms/lib/h8300s/libm.a
+libexec/cross-h8300-hms/h8300-hms/lib/libc.a
+libexec/cross-h8300-hms/h8300-hms/lib/libg.a
+libexec/cross-h8300-hms/h8300-hms/lib/libiberty.a
+libexec/cross-h8300-hms/h8300-hms/lib/libm.a
+libexec/cross-h8300-hms/lib/charset.alias
+libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/cc1
+libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/collect2
+libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/cpp0
+libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/h8300h/int32/libgcc.a
+libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/h8300h/libgcc.a
+libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/h8300s/int32/libgcc.a
+libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/h8300s/libgcc.a
+libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/include/README
+libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/include/fixed
+libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/include/float.h
+libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/include/iso646.h
+libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/include/limits.h
+libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/include/stdarg.h
+libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/include/stdbool.h
+libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/include/stddef.h
+libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/include/syslimits.h
+libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/include/varargs.h
+libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/libgcc.a
+libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/specs
+libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/tradcpp0
+libexec/cross-h8300-hms/lib/libiberty.a
+libexec/cross-h8300-hms/man/man1/cpp.1
+libexec/cross-h8300-hms/man/man1/gcov.1
+libexec/cross-h8300-hms/man/man1/h8300-hms-gcc.1
+libexec/cross-h8300-hms/man/man7/fsf-funding.7
+libexec/cross-h8300-hms/man/man7/gfdl.7
+libexec/cross-h8300-hms/man/man7/gpl.7
+libexec/cross-h8300-hms/share/locale/da/LC_MESSAGES/gcc.mo
+libexec/cross-h8300-hms/share/locale/el/LC_MESSAGES/gcc.mo
+libexec/cross-h8300-hms/share/locale/es/LC_MESSAGES/gcc.mo
+libexec/cross-h8300-hms/share/locale/fr/LC_MESSAGES/gcc.mo
+libexec/cross-h8300-hms/share/locale/ja/LC_MESSAGES/gcc.mo
+libexec/cross-h8300-hms/share/locale/locale.alias
+libexec/cross-h8300-hms/share/locale/nl/LC_MESSAGES/gcc.mo
+libexec/cross-h8300-hms/share/locale/sv/LC_MESSAGES/gcc.mo
+libexec/cross-h8300-hms/share/locale/tr/LC_MESSAGES/gcc.mo
+@dirrm libexec/cross-h8300-hms/share/locale/nl/LC_MESSAGES
+@dirrm libexec/cross-h8300-hms/share/locale/nl
+@dirrm libexec/cross-h8300-hms/share/locale/el/LC_MESSAGES
+@dirrm libexec/cross-h8300-hms/share/locale/el
+@dirrm libexec/cross-h8300-hms/man/man7
+@dirrm libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/include
+@dirrm libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/h8300s/int32
+@dirrm libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/h8300s
+@dirrm libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/h8300h/int32
+@dirrm libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1/h8300h
+@dirrm libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms/3.1
+@dirrm libexec/cross-h8300-hms/lib/gcc-lib/h8300-hms
+@dirrm libexec/cross-h8300-hms/lib/gcc-lib
+@dirrm libexec/cross-h8300-hms/h8300-hms/lib/h8300s/int32
+@dirrm libexec/cross-h8300-hms/h8300-hms/lib/h8300s
+@dirrm libexec/cross-h8300-hms/h8300-hms/lib/h8300h/int32
+@dirrm libexec/cross-h8300-hms/h8300-hms/lib/h8300h
+@dirrm libexec/cross-h8300-hms/h8300-hms/include/sys
+@dirrm libexec/cross-h8300-hms/h8300-hms/include/machine
+@dirrm libexec/cross-h8300-hms/h8300-hms/include
+@dirrm libexec/cross-h8300-hms/gcc
diff --git a/cross/h8300-hms-gcc/distinfo b/cross/h8300-hms-gcc/distinfo
new file mode 100644
index 00000000000..655c7711b36
--- /dev/null
+++ b/cross/h8300-hms-gcc/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/06/27 22:29:09 dmcmahill Exp $
+
+SHA1 (gcc-core-3.1.tar.gz) = e93048803611b5c1e0dd745d81b43d6e34bca026
+Size (gcc-core-3.1.tar.gz) = 13381094 bytes
+SHA1 (newlib-1.10.0.tar.gz) = ca0747e49623cce37967243928d883247a389207
+Size (newlib-1.10.0.tar.gz) = 3647395 bytes
+SHA1 (h8300-hms-gcc-3.1-1.patch) = 6a5ad1f579ca71cfee114a02df26a58103cf4f04
+Size (h8300-hms-gcc-3.1-1.patch) = 61226 bytes