Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2000 22:13:35 +0100 (CET)
From:      esk@ira.uka.de
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/22849: New port: devel/gcc-arm
Message-ID:  <200011142113.eAELDZB88633@i30nb2.ira.uka.de>

next in thread | raw e-mail | index | archive | help

>Number:         22849
>Category:       ports
>Synopsis:       New port: devel/gcc-arm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 14 13:20:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Espen Skoglund
>Release:        FreeBSD 4.2-BETA i386
>Organization:
Karlsruhe University
>Environment:

	

>Description:

This is a cross compiler for vanilla ARM targets.  I thought it might be
useful for people who want to do cross development for the ARM.

>How-To-Repeat:

	

>Fix:


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gcc-arm/
#	gcc-arm/pkg-comment
#	gcc-arm/Makefile
#	gcc-arm/pkg-descr
#	gcc-arm/pkg-plist
#	gcc-arm/distinfo
#
echo c - gcc-arm/
mkdir -p gcc-arm/ > /dev/null 2>&1
echo x - gcc-arm/pkg-comment
sed 's/^X//' >gcc-arm/pkg-comment << 'END-of-gcc-arm/pkg-comment'
XGNU cross compiler suite for vanilla ARM targets.
END-of-gcc-arm/pkg-comment
echo x - gcc-arm/Makefile
sed 's/^X//' >gcc-arm/Makefile << 'END-of-gcc-arm/Makefile'
X# New ports collection makefile for:	gcc-arm
X# Date created:		3 November 2000
X# Whom:			Espen Skoglund <esk@ira.uka.de>
X#
X# $FreeBSD:$
X#
X
XPORTNAME=	gcc
XPORTVERSION=	2.95.2
XCATEGORIES=	devel
XMASTER_SITES=	${MASTER_SITE_GNU}
XMASTER_SITE_SUBDIR=	gcc
XPKGNAMESUFFIX=	-arm
X
XMAINTAINER=	esk@ira.uka.de
X
XBUILD_DEPENDS=	arm-elf-as:${PORTSDIR}/devel/binutils-arm \
X		arm-elf-ld:${PORTSDIR}/devel/binutils-arm
XRUN_DEPENDS=	arm-elf-as:${PORTSDIR}/devel/binutils-arm \
X		arm-elf-ld:${PORTSDIR}/devel/binutils-arm
X
XUSE_LIBTOOL=	yes
XLIBTOOLFILES=	configure etc/configure gcc/ch/configure gcc/configure \
X		libchill/configure libf2c/configure libf2c/libF77/configure \
X		libf2c/libI77/configure libf2c/libU77/configure \
X		libiberty/configure libobjc/configure texinfo/configure \
X		texinfo/testsuite/configure
XCONFIGURE_ARGS=	--target=arm-elf \
X		--enable-languages="c,c++,objc"
X
X.if defined(DEFAULT_CPU)
XCONFIGURE_ARGS+=	--with-cpu="${DEFAULT_CPU}"
X.endif
X
XMAN1=		arm-elf-g++.1 arm-elf-gcc.1 cccp.1
X
X.if !defined(DEFAULT_CPU)
Xpre-extract:
X	@${ECHO}
X	@${ECHO} "You can specify a default cpu target for gcc by setting DEFAULT_CPU to the"
X	@${ECHO} "appropriate target (e.g., strongarm1100)."
X	@${ECHO}
X.endif
X
Xpost-configure:
X	${PERL} -pi.bak -e 's,^(TARGET_CONFIGDIRS\s*=),\1#,' ${WRKSRC}/Makefile
X	${PERL} -pi.bak -e 's,^(install-info:),\1\ndonot-\1,' \
X	  ${WRKSRC}/gcc/Makefile
X
X.include <bsd.port.mk>
END-of-gcc-arm/Makefile
echo x - gcc-arm/pkg-descr
sed 's/^X//' >gcc-arm/pkg-descr << 'END-of-gcc-arm/pkg-descr'
XGNU cross compiler suite for ARM.  This is a vanilla version of gcc only.
XThat is, it does not contain any libs or startup code for creating executable
Xfiles.
END-of-gcc-arm/pkg-descr
echo x - gcc-arm/pkg-plist
sed 's/^X//' >gcc-arm/pkg-plist << 'END-of-gcc-arm/pkg-plist'
Xarm-elf/bin/gcc
Xarm-elf/include/assert.h
Xbin/arm-elf-c++
Xbin/arm-elf-g++
Xbin/arm-elf-gcc
Xbin/arm-elf-protoize
Xbin/arm-elf-unprotoize
Xbin/cpp
Xbin/gcov
Xlib/gcc-lib/arm-elf/2.95.2/SYSCALLS.c.X
Xlib/gcc-lib/arm-elf/2.95.2/cc1
Xlib/gcc-lib/arm-elf/2.95.2/cc1obj
Xlib/gcc-lib/arm-elf/2.95.2/cc1plus
Xlib/gcc-lib/arm-elf/2.95.2/collect2
Xlib/gcc-lib/arm-elf/2.95.2/cpp
Xlib/gcc-lib/arm-elf/2.95.2/crtbegin.o
Xlib/gcc-lib/arm-elf/2.95.2/crtend.o
Xlib/gcc-lib/arm-elf/2.95.2/include/README
Xlib/gcc-lib/arm-elf/2.95.2/include/assert.h
Xlib/gcc-lib/arm-elf/2.95.2/include/exception
Xlib/gcc-lib/arm-elf/2.95.2/include/fixed
Xlib/gcc-lib/arm-elf/2.95.2/include/float.h
Xlib/gcc-lib/arm-elf/2.95.2/include/iso646.h
Xlib/gcc-lib/arm-elf/2.95.2/include/limits.h
Xlib/gcc-lib/arm-elf/2.95.2/include/new
Xlib/gcc-lib/arm-elf/2.95.2/include/new.h
Xlib/gcc-lib/arm-elf/2.95.2/include/proto.h
Xlib/gcc-lib/arm-elf/2.95.2/include/stdarg.h
Xlib/gcc-lib/arm-elf/2.95.2/include/stdbool.h
Xlib/gcc-lib/arm-elf/2.95.2/include/stddef.h
Xlib/gcc-lib/arm-elf/2.95.2/include/syslimits.h
Xlib/gcc-lib/arm-elf/2.95.2/include/typeinfo
Xlib/gcc-lib/arm-elf/2.95.2/include/va-alpha.h
Xlib/gcc-lib/arm-elf/2.95.2/include/va-arc.h
Xlib/gcc-lib/arm-elf/2.95.2/include/va-c4x.h
Xlib/gcc-lib/arm-elf/2.95.2/include/va-clipper.h
Xlib/gcc-lib/arm-elf/2.95.2/include/va-h8300.h
Xlib/gcc-lib/arm-elf/2.95.2/include/va-i860.h
Xlib/gcc-lib/arm-elf/2.95.2/include/va-i960.h
Xlib/gcc-lib/arm-elf/2.95.2/include/va-m32r.h
Xlib/gcc-lib/arm-elf/2.95.2/include/va-m88k.h
Xlib/gcc-lib/arm-elf/2.95.2/include/va-mips.h
Xlib/gcc-lib/arm-elf/2.95.2/include/va-mn10200.h
Xlib/gcc-lib/arm-elf/2.95.2/include/va-mn10300.h
Xlib/gcc-lib/arm-elf/2.95.2/include/va-pa.h
Xlib/gcc-lib/arm-elf/2.95.2/include/va-ppc.h
Xlib/gcc-lib/arm-elf/2.95.2/include/va-pyr.h
Xlib/gcc-lib/arm-elf/2.95.2/include/va-sh.h
Xlib/gcc-lib/arm-elf/2.95.2/include/va-sparc.h
Xlib/gcc-lib/arm-elf/2.95.2/include/va-spur.h
Xlib/gcc-lib/arm-elf/2.95.2/include/va-v850.h
Xlib/gcc-lib/arm-elf/2.95.2/include/varargs.h
Xlib/gcc-lib/arm-elf/2.95.2/libgcc.a
Xlib/gcc-lib/arm-elf/2.95.2/specs
X@dirrm arm-elf/include
X@dirrm lib/gcc-lib/arm-elf/2.95.2/include
X@dirrm lib/gcc-lib/arm-elf/2.95.2
X@dirrm lib/gcc-lib/arm-elf
X@dirrm lib/gcc-lib
END-of-gcc-arm/pkg-plist
echo x - gcc-arm/distinfo
sed 's/^X//' >gcc-arm/distinfo << 'END-of-gcc-arm/distinfo'
XMD5 (gcc-2.95.2.tar.gz) = 0e36957d734286e242e9697fd2806c4f
END-of-gcc-arm/distinfo
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011142113.eAELDZB88633>