mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
GNU cross compiler suite for ARM. This is a vanilla version of gcc only.
That is, it does not contain any libs or startup code for creating executable files. PR: 22849 Submitted by: Espen Skoglund <esk@ira.uka.de> (with much cleanup and tweaks by me)
This commit is contained in:
parent
fc0964260a
commit
a480a804e8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36847
@ -15,6 +15,7 @@
|
||||
SUBDIR += arm-aout-binutils
|
||||
SUBDIR += arm-aout-gcc295
|
||||
SUBDIR += arm-elf-binutils
|
||||
SUBDIR += arm-elf-gcc295
|
||||
SUBDIR += asis
|
||||
SUBDIR += asl
|
||||
SUBDIR += astyle
|
||||
|
57
devel/arm-elf-gcc295/Makefile
Normal file
57
devel/arm-elf-gcc295/Makefile
Normal file
@ -0,0 +1,57 @@
|
||||
# New ports collection makefile for: gcc-arm
|
||||
# Date created: 3 November 2000
|
||||
# Whom: Espen Skoglund <esk@ira.uka.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= gcc
|
||||
PORTVERSION= 2.95.2
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
MASTER_SITE_SUBDIR= gcc
|
||||
PKGNAMEPREFIX= arm-elf-
|
||||
|
||||
MAINTAINER= esk@ira.uka.de
|
||||
|
||||
BUILD_DEPENDS= ${PKGNAMEPREFIX}as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils \
|
||||
${PKGNAMEPREFIX}ld:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils
|
||||
RUN_DEPENDS= ${PKGNAMEPREFIX}as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils \
|
||||
${PKGNAMEPREFIX}ld:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils
|
||||
|
||||
USE_BZIP2= yes
|
||||
CONFIGURE_ARGS= --target=${PKGNAMEPREFIX:S/-$//} --enable-languages="c,c++,objc"
|
||||
.if defined(DEFAULT_CPU)
|
||||
CONFIGURE_ARGS+= --with-cpu="${DEFAULT_CPU}"
|
||||
.endif
|
||||
|
||||
MAKE_ENV= PATH=${PREFIX}/bin:${PATH}
|
||||
USE_LIBTOOL= yes
|
||||
LIBTOOLFILES= configure etc/configure gcc/ch/configure gcc/configure \
|
||||
libchill/configure libf2c/configure libf2c/libF77/configure \
|
||||
libf2c/libI77/configure libf2c/libU77/configure \
|
||||
libiberty/configure libobjc/configure texinfo/configure \
|
||||
texinfo/testsuite/configure
|
||||
MAN1= ${PKGNAMEPREFIX}g++.1 ${PKGNAMEPREFIX}gcc.1 cccp.1
|
||||
|
||||
.if !defined(DEFAULT_CPU)
|
||||
pre-extract:
|
||||
@${ECHO}
|
||||
@${ECHO} "You can specify a default cpu target for gcc by setting DEFAULT_CPU to the"
|
||||
@${ECHO} "appropriate target (e.g., strongarm1100)."
|
||||
@${ECHO}
|
||||
.endif
|
||||
|
||||
post-configure:
|
||||
${PERL} -pi.bak -e 's,^(TARGET_CONFIGDIRS\s*=),\1#,' ${WRKSRC}/Makefile
|
||||
${PERL} -pi.bak -e 's,^(install-info:),\1\ndonot-\1,' \
|
||||
${WRKSRC}/gcc/Makefile
|
||||
|
||||
post-install:
|
||||
@${MV} ${PREFIX}/bin/cpp ${PREFIX}/bin/${PKGNAMEPREFIX}cpp
|
||||
@${MV} ${PREFIX}/bin/gcov ${PREFIX}/bin/${PKGNAMEPREFIX}gcov
|
||||
@${LN} -f ${PREFIX}/bin/${PKGNAMEPREFIX}g++ \
|
||||
${PREFIX}/${PKGNAMEPREFIX:S/-$//}/bin/g++
|
||||
@${RM} ${PREFIX}/lib/libiberty.a
|
||||
|
||||
.include <bsd.port.mk>
|
1
devel/arm-elf-gcc295/distinfo
Normal file
1
devel/arm-elf-gcc295/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (gcc-2.95.2.tar.bz2) = 7caa851b4a360b6ff027897f455348d5
|
1
devel/arm-elf-gcc295/pkg-comment
Normal file
1
devel/arm-elf-gcc295/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
GNU cross compiler suite for vanilla ARM targets.
|
3
devel/arm-elf-gcc295/pkg-descr
Normal file
3
devel/arm-elf-gcc295/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
GNU cross compiler suite for ARM. This is a vanilla version of gcc only.
|
||||
That is, it does not contain any libs or startup code for creating executable
|
||||
files.
|
60
devel/arm-elf-gcc295/pkg-plist
Normal file
60
devel/arm-elf-gcc295/pkg-plist
Normal file
@ -0,0 +1,60 @@
|
||||
arm-elf/bin/gcc
|
||||
arm-elf/bin/g++
|
||||
arm-elf/include/assert.h
|
||||
bin/arm-elf-c++
|
||||
bin/arm-elf-g++
|
||||
bin/arm-elf-gcc
|
||||
bin/arm-elf-cpp
|
||||
bin/arm-elf-gcov
|
||||
bin/arm-elf-protoize
|
||||
bin/arm-elf-unprotoize
|
||||
lib/gcc-lib/arm-elf/2.95.2/SYSCALLS.c.X
|
||||
lib/gcc-lib/arm-elf/2.95.2/cc1
|
||||
lib/gcc-lib/arm-elf/2.95.2/cc1obj
|
||||
lib/gcc-lib/arm-elf/2.95.2/cc1plus
|
||||
lib/gcc-lib/arm-elf/2.95.2/collect2
|
||||
lib/gcc-lib/arm-elf/2.95.2/cpp
|
||||
lib/gcc-lib/arm-elf/2.95.2/crtbegin.o
|
||||
lib/gcc-lib/arm-elf/2.95.2/crtend.o
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/README
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/assert.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/exception
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/fixed
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/float.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/iso646.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/limits.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/new
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/new.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/proto.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/stdarg.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/stdbool.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/stddef.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/syslimits.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/typeinfo
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-alpha.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-arc.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-c4x.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-clipper.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-h8300.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-i860.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-i960.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-m32r.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-m88k.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-mips.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-mn10200.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-mn10300.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-pa.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-ppc.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-pyr.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-sh.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-sparc.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-spur.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-v850.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/varargs.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/libgcc.a
|
||||
lib/gcc-lib/arm-elf/2.95.2/specs
|
||||
@dirrm arm-elf/include
|
||||
@dirrm lib/gcc-lib/arm-elf/2.95.2/include
|
||||
@dirrm lib/gcc-lib/arm-elf/2.95.2
|
||||
@dirrm lib/gcc-lib/arm-elf
|
||||
@dirrm lib/gcc-lib
|
57
devel/arm-elf-gcc31/Makefile
Normal file
57
devel/arm-elf-gcc31/Makefile
Normal file
@ -0,0 +1,57 @@
|
||||
# New ports collection makefile for: gcc-arm
|
||||
# Date created: 3 November 2000
|
||||
# Whom: Espen Skoglund <esk@ira.uka.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= gcc
|
||||
PORTVERSION= 2.95.2
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
MASTER_SITE_SUBDIR= gcc
|
||||
PKGNAMEPREFIX= arm-elf-
|
||||
|
||||
MAINTAINER= esk@ira.uka.de
|
||||
|
||||
BUILD_DEPENDS= ${PKGNAMEPREFIX}as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils \
|
||||
${PKGNAMEPREFIX}ld:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils
|
||||
RUN_DEPENDS= ${PKGNAMEPREFIX}as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils \
|
||||
${PKGNAMEPREFIX}ld:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils
|
||||
|
||||
USE_BZIP2= yes
|
||||
CONFIGURE_ARGS= --target=${PKGNAMEPREFIX:S/-$//} --enable-languages="c,c++,objc"
|
||||
.if defined(DEFAULT_CPU)
|
||||
CONFIGURE_ARGS+= --with-cpu="${DEFAULT_CPU}"
|
||||
.endif
|
||||
|
||||
MAKE_ENV= PATH=${PREFIX}/bin:${PATH}
|
||||
USE_LIBTOOL= yes
|
||||
LIBTOOLFILES= configure etc/configure gcc/ch/configure gcc/configure \
|
||||
libchill/configure libf2c/configure libf2c/libF77/configure \
|
||||
libf2c/libI77/configure libf2c/libU77/configure \
|
||||
libiberty/configure libobjc/configure texinfo/configure \
|
||||
texinfo/testsuite/configure
|
||||
MAN1= ${PKGNAMEPREFIX}g++.1 ${PKGNAMEPREFIX}gcc.1 cccp.1
|
||||
|
||||
.if !defined(DEFAULT_CPU)
|
||||
pre-extract:
|
||||
@${ECHO}
|
||||
@${ECHO} "You can specify a default cpu target for gcc by setting DEFAULT_CPU to the"
|
||||
@${ECHO} "appropriate target (e.g., strongarm1100)."
|
||||
@${ECHO}
|
||||
.endif
|
||||
|
||||
post-configure:
|
||||
${PERL} -pi.bak -e 's,^(TARGET_CONFIGDIRS\s*=),\1#,' ${WRKSRC}/Makefile
|
||||
${PERL} -pi.bak -e 's,^(install-info:),\1\ndonot-\1,' \
|
||||
${WRKSRC}/gcc/Makefile
|
||||
|
||||
post-install:
|
||||
@${MV} ${PREFIX}/bin/cpp ${PREFIX}/bin/${PKGNAMEPREFIX}cpp
|
||||
@${MV} ${PREFIX}/bin/gcov ${PREFIX}/bin/${PKGNAMEPREFIX}gcov
|
||||
@${LN} -f ${PREFIX}/bin/${PKGNAMEPREFIX}g++ \
|
||||
${PREFIX}/${PKGNAMEPREFIX:S/-$//}/bin/g++
|
||||
@${RM} ${PREFIX}/lib/libiberty.a
|
||||
|
||||
.include <bsd.port.mk>
|
1
devel/arm-elf-gcc31/distinfo
Normal file
1
devel/arm-elf-gcc31/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (gcc-2.95.2.tar.bz2) = 7caa851b4a360b6ff027897f455348d5
|
1
devel/arm-elf-gcc31/pkg-comment
Normal file
1
devel/arm-elf-gcc31/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
GNU cross compiler suite for vanilla ARM targets.
|
3
devel/arm-elf-gcc31/pkg-descr
Normal file
3
devel/arm-elf-gcc31/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
GNU cross compiler suite for ARM. This is a vanilla version of gcc only.
|
||||
That is, it does not contain any libs or startup code for creating executable
|
||||
files.
|
60
devel/arm-elf-gcc31/pkg-plist
Normal file
60
devel/arm-elf-gcc31/pkg-plist
Normal file
@ -0,0 +1,60 @@
|
||||
arm-elf/bin/gcc
|
||||
arm-elf/bin/g++
|
||||
arm-elf/include/assert.h
|
||||
bin/arm-elf-c++
|
||||
bin/arm-elf-g++
|
||||
bin/arm-elf-gcc
|
||||
bin/arm-elf-cpp
|
||||
bin/arm-elf-gcov
|
||||
bin/arm-elf-protoize
|
||||
bin/arm-elf-unprotoize
|
||||
lib/gcc-lib/arm-elf/2.95.2/SYSCALLS.c.X
|
||||
lib/gcc-lib/arm-elf/2.95.2/cc1
|
||||
lib/gcc-lib/arm-elf/2.95.2/cc1obj
|
||||
lib/gcc-lib/arm-elf/2.95.2/cc1plus
|
||||
lib/gcc-lib/arm-elf/2.95.2/collect2
|
||||
lib/gcc-lib/arm-elf/2.95.2/cpp
|
||||
lib/gcc-lib/arm-elf/2.95.2/crtbegin.o
|
||||
lib/gcc-lib/arm-elf/2.95.2/crtend.o
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/README
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/assert.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/exception
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/fixed
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/float.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/iso646.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/limits.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/new
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/new.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/proto.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/stdarg.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/stdbool.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/stddef.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/syslimits.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/typeinfo
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-alpha.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-arc.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-c4x.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-clipper.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-h8300.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-i860.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-i960.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-m32r.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-m88k.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-mips.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-mn10200.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-mn10300.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-pa.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-ppc.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-pyr.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-sh.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-sparc.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-spur.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/va-v850.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/include/varargs.h
|
||||
lib/gcc-lib/arm-elf/2.95.2/libgcc.a
|
||||
lib/gcc-lib/arm-elf/2.95.2/specs
|
||||
@dirrm arm-elf/include
|
||||
@dirrm lib/gcc-lib/arm-elf/2.95.2/include
|
||||
@dirrm lib/gcc-lib/arm-elf/2.95.2
|
||||
@dirrm lib/gcc-lib/arm-elf
|
||||
@dirrm lib/gcc-lib
|
Loading…
Reference in New Issue
Block a user