diff options
author | ryoon <ryoon@pkgsrc.org> | 2013-11-23 15:10:26 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2013-11-23 15:10:26 +0000 |
commit | 14b3d316f0f862fded0df6375b5c76fe6e0d4756 (patch) | |
tree | c587acf55004737118e72198eb17ef354a31c550 /cad | |
parent | 1b30d9ac41e0ba326d2d6b111b2065b4c0ef9fc2 (diff) | |
download | pkgsrc-14b3d316f0f862fded0df6375b5c76fe6e0d4756.tar.gz |
Import ghdl-0.29 as cad/ghdl.
GHDL is an open-source simulator for the VHDL language. GHDL allows
you to compile and execute your VHDL code directly in your PC.
Combined with a GUI-based wave viewer and a good VHDL text editor,
GHDL is a very powerful tool for writing, testing and simulating
your VHDL code.
Diffstat (limited to 'cad')
-rw-r--r-- | cad/ghdl/DESCR | 5 | ||||
-rw-r--r-- | cad/ghdl/Makefile | 63 | ||||
-rw-r--r-- | cad/ghdl/PLIST | 229 | ||||
-rw-r--r-- | cad/ghdl/distinfo | 14 | ||||
-rw-r--r-- | cad/ghdl/patches/patch-gcc_doc_c-tree.texi | 22 | ||||
-rw-r--r-- | cad/ghdl/patches/patch-gcc_doc_cppopts.texi | 17 | ||||
-rw-r--r-- | cad/ghdl/patches/patch-gcc_doc_extend.texi | 24 | ||||
-rw-r--r-- | cad/ghdl/patches/patch-gcc_doc_invoke.texi | 24 | ||||
-rw-r--r-- | cad/ghdl/patches/patch-gcc_vhdl_Make-lang.in | 15 | ||||
-rw-r--r-- | cad/ghdl/patches/patch-gcc_vhdl_Makefile.in | 21 |
10 files changed, 434 insertions, 0 deletions
diff --git a/cad/ghdl/DESCR b/cad/ghdl/DESCR new file mode 100644 index 00000000000..70b7ae3aaf2 --- /dev/null +++ b/cad/ghdl/DESCR @@ -0,0 +1,5 @@ +GHDL is an open-source simulator for the VHDL language. GHDL allows +you to compile and execute your VHDL code directly in your PC. +Combined with a GUI-based wave viewer and a good VHDL text editor, +GHDL is a very powerful tool for writing, testing and simulating +your VHDL code. diff --git a/cad/ghdl/Makefile b/cad/ghdl/Makefile new file mode 100644 index 00000000000..d10424f4349 --- /dev/null +++ b/cad/ghdl/Makefile @@ -0,0 +1,63 @@ +# $NetBSD: Makefile,v 1.1 2013/11/23 15:10:26 ryoon Exp $ + +DISTNAME= ghdl-0.29 +CATEGORIES= cad +MASTER_SITES= http://ghdl.free.fr/ +EXTRACT_SUFX= .tar.bz2 +DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} gcc-core-4.3.4.tar.bz2 +SITES.gcc-core-4.3.4.tar.bz2= ${MASTER_SITE_GNU:=gcc/gcc-4.3.4/} + +MAINTAINER= ryoon@NetBSD.org +HOMEPAGE= http://ghdl.free.fr/ +COMMENT= Open-source simulator for the VHDL language +LICENSE= gnu-gpl-v2 + +# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33549 +# use makeinfo from pkgsrc/devel/gtexinfo. +TOOL_DEPENDS+= gtexinfo>=5.1:../../devel/gtexinfo +TOOLS_PLATFORM.makeinfo= + +WRKSRC= ${WRKDIR}/gcc-4.3.4 + +USE_LANGUAGES= c ada + +MAKE_JOBS_SAFE= no + +USE_LIBTOOL= yes +USE_TOOLS+= gmake makeinfo +INFO_FILES= yes + +GNU_CONFIGURE= yes + +CONFIGURE_ARGS+= --enable-languages=vhdl +CONFIGURE_ARGS+= --disable-bootstrap +CONFIGURE_ARGS+= --disable-nls +CONFIGURE_ARGS+= --with-gmp=${BUILDLINK_PREFIX.gmp} +CONFIGURE_ARGS+= --with-mpfr=${BUILDLINK_PREFIX.mpfr} + +## Build outside ${WRKSRC} +OBJDIR= ../build +CONFIGURE_DIRS= ${OBJDIR} +CONFIGURE_SCRIPT= ../gcc-4.3.4/configure + +GCC_PKGNAME= gcc43-ghdl +GCC_SUBPREFIX= ${GCC_PKGNAME} +GCC_PREFIX= ${PREFIX}/${GCC_SUBPREFIX} +GNU_CONFIGURE_PREFIX= ${GCC_PREFIX} + +CONFIGURE_ARGS+= --with-local-prefix=${GCC_PREFIX:Q} + +INSTALLATION_DIRS+= bin + +post-extract: + cd ${WRKDIR} && mv ${DISTNAME}/vhdl gcc-4.3.4/gcc + +pre-configure: + ${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR} + +post-install: + cd ${DESTDIR}${PREFIX}/bin && ${LN} -fs ../gcc43-ghdl/bin/ghdl . + +.include "../../devel/gmp/buildlink3.mk" +.include "../../math/mpfr/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/cad/ghdl/PLIST b/cad/ghdl/PLIST new file mode 100644 index 00000000000..20c67319f5d --- /dev/null +++ b/cad/ghdl/PLIST @@ -0,0 +1,229 @@ +@comment $NetBSD: PLIST,v 1.1 2013/11/23 15:10:26 ryoon Exp $ +bin/ghdl +gcc43-ghdl/bin/cpp +gcc43-ghdl/bin/gcc +gcc43-ghdl/bin/gccbug +gcc43-ghdl/bin/gcov +gcc43-ghdl/bin/ghdl +gcc43-ghdl/bin/${MACHINE_GNU_PLATFORM}-gcc +gcc43-ghdl/bin/${MACHINE_GNU_PLATFORM}-gcc-4.3.4 +gcc43-ghdl/info/cpp.info +gcc43-ghdl/info/cppinternals.info +gcc43-ghdl/info/gcc.info +gcc43-ghdl/info/gccinstall.info +gcc43-ghdl/info/gccint.info +gcc43-ghdl/info/ghdl.info +gcc43-ghdl/info/libgomp.info +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include-fixed/README +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include-fixed/curses.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include-fixed/limits.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include-fixed/math.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include-fixed/netinet/ip_compat.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include-fixed/netinet/ip_fil.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include-fixed/netinet/ip_lookup.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include-fixed/netinet/ip_nat.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include-fixed/netinet/ip_proxy.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include-fixed/netinet/ip_scan.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include-fixed/netinet/ip_state.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include-fixed/stddef.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include-fixed/stdio.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include-fixed/stdlib.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include-fixed/sys/types.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include-fixed/syslimits.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include-fixed/wchar.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/ammintrin.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/bmmintrin.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/cpuid.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/emmintrin.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/float.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/iso646.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/mm3dnow.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/mm_malloc.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/mmintrin-common.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/mmintrin.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/nmmintrin.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/omp.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/pmmintrin.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/smmintrin.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/ssp/ssp.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/ssp/stdio.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/ssp/string.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/ssp/unistd.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/stdarg.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/stdbool.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/stddef.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/stdfix.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/tgmath.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/tmmintrin.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/unwind.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/varargs.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/include/xmmintrin.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/install-tools/fixinc_list +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/install-tools/gsyslimits.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/install-tools/include/README +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/install-tools/include/limits.h +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/install-tools/macro_list +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/install-tools/mkheaders.conf +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/libgcc.a +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/libgcc_eh.a +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/libgcov.a +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/grt.lst +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/grt.ver +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/libgrt.a +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/ieee/ieee-obj87.cf +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/ieee/numeric_bit-body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/ieee/numeric_bit.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/ieee/numeric_std-body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/ieee/numeric_std.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/ieee/std_logic_1164.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/ieee/std_logic_1164_body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/ieee/vital_primitives.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/ieee/vital_primitives_body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/ieee/vital_timing.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/ieee/vital_timing_body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/std/std-obj87.cf +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/std/std_standard.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/std/textio.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/std/textio_body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/synopsys/ieee-obj87.cf +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/synopsys/numeric_bit-body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/synopsys/numeric_bit.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/synopsys/numeric_std-body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/synopsys/numeric_std.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/synopsys/std_logic_1164.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/synopsys/std_logic_1164_body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/synopsys/std_logic_arith.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/synopsys/std_logic_misc-body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/synopsys/std_logic_misc.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/synopsys/std_logic_signed.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/synopsys/std_logic_textio.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/synopsys/std_logic_unsigned.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/synopsys/vital_primitives.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/synopsys/vital_primitives_body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/synopsys/vital_timing.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v87/synopsys/vital_timing_body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/ieee/ieee-obj93.cf +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/ieee/math_complex-body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/ieee/math_complex.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/ieee/math_real-body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/ieee/math_real.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/ieee/memory_b.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/ieee/memory_p.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/ieee/numeric_bit-body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/ieee/numeric_bit.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/ieee/numeric_std-body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/ieee/numeric_std.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/ieee/prmtvs_b.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/ieee/prmtvs_p.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/ieee/std_logic_1164.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/ieee/std_logic_1164_body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/ieee/timing_b.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/ieee/timing_p.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/mentor/ieee-obj93.cf +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/mentor/math_complex-body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/mentor/math_complex.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/mentor/math_real-body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/mentor/math_real.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/mentor/memory_b.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/mentor/memory_p.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/mentor/numeric_bit-body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/mentor/numeric_bit.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/mentor/numeric_std-body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/mentor/numeric_std.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/mentor/prmtvs_b.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/mentor/prmtvs_p.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/mentor/std_logic_1164.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/mentor/std_logic_1164_body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/mentor/std_logic_arith.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/mentor/std_logic_arith_body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/mentor/timing_b.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/mentor/timing_p.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/std/std-obj93.cf +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/std/std_standard.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/std/textio.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/std/textio_body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/ieee-obj93.cf +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/math_complex-body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/math_complex.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/math_real-body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/math_real.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/memory_b.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/memory_p.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/numeric_bit-body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/numeric_bit.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/numeric_std-body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/numeric_std.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/prmtvs_b.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/prmtvs_p.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/std_logic_1164.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/std_logic_1164_body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/std_logic_arith.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/std_logic_misc-body.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/std_logic_misc.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/std_logic_signed.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/std_logic_textio.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/std_logic_unsigned.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/timing_b.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/lib/v93/synopsys/timing_p.o +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/ieee/math_complex-body.vhdl +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/ieee/math_complex.vhdl +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/ieee/math_real-body.vhdl +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/ieee/math_real.vhdl +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/ieee/numeric_bit-body.v87 +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/ieee/numeric_bit-body.v93 +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/ieee/numeric_bit.v87 +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/ieee/numeric_bit.v93 +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/ieee/numeric_std-body.v87 +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/ieee/numeric_std-body.v93 +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/ieee/numeric_std.v87 +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/ieee/numeric_std.v93 +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/ieee/std_logic_1164.v87 +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/ieee/std_logic_1164.v93 +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/ieee/std_logic_1164_body.v87 +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/ieee/std_logic_1164_body.v93 +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/mentor/std_logic_arith.vhdl +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/mentor/std_logic_arith_body.vhdl +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/std/textio.v87 +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/std/textio.v93 +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/std/textio_body.v87 +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/std/textio_body.v93 +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/synopsys/std_logic_arith.vhdl +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/synopsys/std_logic_misc-body.vhdl +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/synopsys/std_logic_misc.vhdl +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/synopsys/std_logic_signed.vhdl +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/synopsys/std_logic_textio.vhdl +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/synopsys/std_logic_unsigned.vhdl +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/vital2000/memory_b.vhdl +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/vital2000/memory_p.vhdl +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/vital2000/prmtvs_b.vhdl +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/vital2000/prmtvs_p.vhdl +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/vital2000/timing_b.vhdl +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/vital2000/timing_p.vhdl +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/vital95/vital_primitives.vhdl +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/vital95/vital_primitives_body.vhdl +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/vital95/vital_timing.vhdl +gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/vhdl/src/vital95/vital_timing_body.vhdl +gcc43-ghdl/lib/libgcc_s.so +gcc43-ghdl/lib/libgcc_s.so.1 +gcc43-ghdl/lib/libgomp.la +gcc43-ghdl/lib/libgomp.spec +gcc43-ghdl/lib/libiberty.a +gcc43-ghdl/lib/libssp.la +gcc43-ghdl/lib/libssp_nonshared.la +gcc43-ghdl/libexec/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/cc1 +gcc43-ghdl/libexec/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/collect2 +gcc43-ghdl/libexec/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/ghdl1 +gcc43-ghdl/libexec/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/install-tools/fixinc.sh +gcc43-ghdl/libexec/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/install-tools/fixincl +gcc43-ghdl/libexec/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/install-tools/mkheaders +gcc43-ghdl/libexec/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/install-tools/mkinstalldirs +gcc43-ghdl/man/man1/cpp.1 +gcc43-ghdl/man/man1/gcc.1 +gcc43-ghdl/man/man1/gcov.1 +gcc43-ghdl/man/man1/ghdl.1 +gcc43-ghdl/man/man7/fsf-funding.7 +gcc43-ghdl/man/man7/gfdl.7 +gcc43-ghdl/man/man7/gpl.7 +@pkgdir gcc43-ghdl/share +@pkgdir gcc43-ghdl/lib/gcc/${MACHINE_GNU_PLATFORM}/4.3.4/finclude +@pkgdir gcc43-ghdl/include diff --git a/cad/ghdl/distinfo b/cad/ghdl/distinfo new file mode 100644 index 00000000000..3ea005bb249 --- /dev/null +++ b/cad/ghdl/distinfo @@ -0,0 +1,14 @@ +$NetBSD: distinfo,v 1.1 2013/11/23 15:10:26 ryoon Exp $ + +SHA1 (gcc-core-4.3.4.tar.bz2) = 5aae071fc542ee17dadfd8f22eaf79611fd175ba +RMD160 (gcc-core-4.3.4.tar.bz2) = 0ed558bd465fcfa6ad123daa4b85aa7c498dc80f +Size (gcc-core-4.3.4.tar.bz2) = 24329359 bytes +SHA1 (ghdl-0.29.tar.bz2) = f207ab6425027176fd61b4ef440c5620e7ab6572 +RMD160 (ghdl-0.29.tar.bz2) = c4bd5cff6dd928c6008f062cd033e215bb4b0535 +Size (ghdl-0.29.tar.bz2) = 784389 bytes +SHA1 (patch-gcc_doc_c-tree.texi) = 959e53dc468bb8d3dcac6319b52fde0a7530baa9 +SHA1 (patch-gcc_doc_cppopts.texi) = 737098c2211d2bf5fed81f215e6403b6c50b963a +SHA1 (patch-gcc_doc_extend.texi) = 322235d189797b06709e1e5e97f9bbd36635234f +SHA1 (patch-gcc_doc_invoke.texi) = 2f82ab58921e09c049a3a5c9c660649325b7a811 +SHA1 (patch-gcc_vhdl_Make-lang.in) = a82326fc4a7e8a9b207e359c4c42588f83057a26 +SHA1 (patch-gcc_vhdl_Makefile.in) = 41bfc5d20e664ec13aac2ca74e91a109fbf76ae4 diff --git a/cad/ghdl/patches/patch-gcc_doc_c-tree.texi b/cad/ghdl/patches/patch-gcc_doc_c-tree.texi new file mode 100644 index 00000000000..5c83d8e9cb3 --- /dev/null +++ b/cad/ghdl/patches/patch-gcc_doc_c-tree.texi @@ -0,0 +1,22 @@ +$NetBSD: patch-gcc_doc_c-tree.texi,v 1.1 2013/11/23 15:10:26 ryoon Exp $ + +* Fix makeinfo + +--- gcc/doc/c-tree.texi.orig 2008-02-17 18:52:04.000000000 +0000 ++++ gcc/doc/c-tree.texi +@@ -2325,13 +2325,13 @@ generate these expressions anyhow, if it + not matter. The type of the operands and that of the result are + always of @code{BOOLEAN_TYPE} or @code{INTEGER_TYPE}. + +-@itemx POINTER_PLUS_EXPR ++@item POINTER_PLUS_EXPR + This node represents pointer arithmetic. The first operand is always + a pointer/reference type. The second operand is always an unsigned + integer type compatible with sizetype. This is the only binary + arithmetic operand that can operate on pointer types. + +-@itemx PLUS_EXPR ++@item PLUS_EXPR + @itemx MINUS_EXPR + @itemx MULT_EXPR + These nodes represent various binary arithmetic operations. diff --git a/cad/ghdl/patches/patch-gcc_doc_cppopts.texi b/cad/ghdl/patches/patch-gcc_doc_cppopts.texi new file mode 100644 index 00000000000..3f96e4fdf1f --- /dev/null +++ b/cad/ghdl/patches/patch-gcc_doc_cppopts.texi @@ -0,0 +1,17 @@ +$NetBSD: patch-gcc_doc_cppopts.texi,v 1.1 2013/11/23 15:10:26 ryoon Exp $ + +* Fix makeinfo + +--- gcc/doc/cppopts.texi.orig 2007-07-30 18:29:20.000000000 +0000 ++++ gcc/doc/cppopts.texi +@@ -754,8 +754,8 @@ Replacement: [ ] @{ @} + Enable special code to work around file systems which only permit very + short file names, such as MS-DOS@. + +-@itemx --help +-@itemx --target-help ++@item --help ++@item --target-help + @opindex help + @opindex target-help + Print text describing all the command line options instead of diff --git a/cad/ghdl/patches/patch-gcc_doc_extend.texi b/cad/ghdl/patches/patch-gcc_doc_extend.texi new file mode 100644 index 00000000000..2863f4a241d --- /dev/null +++ b/cad/ghdl/patches/patch-gcc_doc_extend.texi @@ -0,0 +1,24 @@ +$NetBSD: patch-gcc_doc_extend.texi,v 1.1 2013/11/23 15:10:26 ryoon Exp $ + +* Fix makeinfo + +--- gcc/doc/extend.texi.orig 2009-03-17 13:11:58.000000000 +0000 ++++ gcc/doc/extend.texi +@@ -4230,6 +4230,7 @@ particular, if a class is thrown as an e + and caught in another, the class must have default visibility. + Otherwise the two shared objects will be unable to use the same + typeinfo node and exception handling will break. ++@end table + + @subsection ARM Type Attributes + +@@ -4260,7 +4261,8 @@ most Symbian OS code uses @code{__declsp + Two attributes are currently defined for i386 configurations: + @code{ms_struct} and @code{gcc_struct} + +-@item ms_struct ++@table @code ++@itemx ms_struct + @itemx gcc_struct + @cindex @code{ms_struct} + @cindex @code{gcc_struct} diff --git a/cad/ghdl/patches/patch-gcc_doc_invoke.texi b/cad/ghdl/patches/patch-gcc_doc_invoke.texi new file mode 100644 index 00000000000..6fa8619642e --- /dev/null +++ b/cad/ghdl/patches/patch-gcc_doc_invoke.texi @@ -0,0 +1,24 @@ +$NetBSD: patch-gcc_doc_invoke.texi,v 1.1 2013/11/23 15:10:26 ryoon Exp $ + +* Fix makeinfo + +--- gcc/doc/invoke.texi.orig 2009-01-27 18:45:49.000000000 +0000 ++++ gcc/doc/invoke.texi +@@ -958,7 +958,7 @@ instantiation), or a library unit renami + generic, or subprogram renaming declaration). Such files are also + called @dfn{specs}. + +-@itemx @var{file}.adb ++@item @var{file}.adb + Ada source code file containing a library unit body (a subprogram or + package body). Such files are also called @dfn{bodies}. + +@@ -8571,7 +8571,7 @@ assembly code. Permissible names are: @ + @samp{cortex-a8}, @samp{cortex-r4}, @samp{cortex-m3}, + @samp{xscale}, @samp{iwmmxt}, @samp{ep9312}. + +-@itemx -mtune=@var{name} ++@item -mtune=@var{name} + @opindex mtune + This option is very similar to the @option{-mcpu=} option, except that + instead of specifying the actual target processor type, and hence diff --git a/cad/ghdl/patches/patch-gcc_vhdl_Make-lang.in b/cad/ghdl/patches/patch-gcc_vhdl_Make-lang.in new file mode 100644 index 00000000000..44ba34d7b6b --- /dev/null +++ b/cad/ghdl/patches/patch-gcc_vhdl_Make-lang.in @@ -0,0 +1,15 @@ +$NetBSD: patch-gcc_vhdl_Make-lang.in,v 1.1 2013/11/23 15:10:26 ryoon Exp $ + +* Fix rpath of ghdl1 + +--- gcc/vhdl/Make-lang.in.orig 2010-01-09 14:32:26.000000000 +0000 ++++ gcc/vhdl/Make-lang.in +@@ -132,7 +132,7 @@ ghdl1$(exeext): $(AGCC_OBJS) $(AGCC_DEPS + -cargs $(CFLAGS) $(GHDL_ADAFLAGS) + $(GNATMAKE) -o $@ -aI$(srcdir)/vhdl -aOvhdl ortho_gcc-main \ + -bargs -E -cargs $(CFLAGS) $(GHDL_ADAFLAGS) \ +- -largs $(AGCC_OBJS) $(LIBS) $(GMPLIBS) ++ -largs $(AGCC_OBJS) $(LIBS) $(GMPLIBS) ${LDFLAGS} + + # The driver for ghdl. + ghdl$(exeext): force diff --git a/cad/ghdl/patches/patch-gcc_vhdl_Makefile.in b/cad/ghdl/patches/patch-gcc_vhdl_Makefile.in new file mode 100644 index 00000000000..13478fbbb1c --- /dev/null +++ b/cad/ghdl/patches/patch-gcc_vhdl_Makefile.in @@ -0,0 +1,21 @@ +$NetBSD: patch-gcc_vhdl_Makefile.in,v 1.1 2013/11/23 15:10:26 ryoon Exp $ + +* Add NetBSD support + +--- gcc/vhdl/Makefile.in.orig 2010-01-09 14:32:26.000000000 +0000 ++++ gcc/vhdl/Makefile.in +@@ -471,6 +471,14 @@ ifeq ($(filter-out x86_64 linux,$(arch) + GRT_TARGET_OBJS=amd64.o linux.o times.o + GRT_EXTRA_LIB=-ldl -lm $(GRT_ELF_OPTS) + endif ++ifeq ($(filter-out i%86 netbsd,$(arch) $(osys)),) ++ GRT_TARGET_OBJS=i386.o linux.o times.o ++ GRT_EXTRA_LIB=-lm $(GRT_ELF_OPTS) ++endif ++ifeq ($(filter-out x86_64 netbsd,$(arch) $(osys)),) ++ GRT_TARGET_OBJS=amd64.o linux.o times.o ++ GRT_EXTRA_LIB=-lm $(GRT_ELF_OPTS) ++endif + ifeq ($(filter-out i%86 freebsd%,$(arch) $(osys)),) + GRT_TARGET_OBJS=i386.o linux.o times.o + GRT_EXTRA_LIB=-lm $(GRT_ELF_OPTS) |