Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2002 17:59:14 +0400 (MSD)
From:      "Lev A. Serbryakov" <lev@serebryakov.spb.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44139: New port: msp430-gcc: gcc 3.2 for cross-development for TI's MSP430 MCUs
Message-ID:  <200210161359.g9GDxEPk056260@ftp.translate.ru>

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

>Number:         44139
>Category:       ports
>Synopsis:       New port: msp430-gcc: gcc 3.2 for cross-development for TI's MSP430 MCUs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 16 07:00:19 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lev A. Serbryakov <lev@serebryakov.spb.ru>
>Release:        FreeBSD 4.7-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD ftp.translate.ru 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #0: Wed Sep 4 15:11:34 MSD 2002 lev@ftp.translate.ru:/usr/src/sys/compile/FTPTR i386
Ports collection: 16 Oct 2002

>Description:

  This is brand-new gcc for TI's MCUs toolchain.
  This port depends on msp430-binutils (see previous PRs)

>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:
#
#	msp430-gcc
#	msp430-gcc/Makefile
#	msp430-gcc/pkg-plist
#	msp430-gcc/pkg-comment
#	msp430-gcc/pkg-descr
#	msp430-gcc/distinfo
#
echo c - msp430-gcc
mkdir -p msp430-gcc > /dev/null 2>&1
echo x - msp430-gcc/Makefile
sed 's/^X//' >msp430-gcc/Makefile << 'END-of-msp430-gcc/Makefile'
X# New ports collection makefile for:	msp430-gcc
X# Date created:		15 October 2002
X# Whom:			Lev Serebryakov <lev@serebryakov.spb.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gcc
XPORTVERSION=	${GCCVERSION}.${PATCHVERSION}
XCATEGORIES=	devel
XMASTER_SITES=	${MASTER_SITE_SOURCEWARE} \
X		http://lev.serebryakov.spb.ru/download/msp430/:patches
XMASTER_SITE_SUBDIR=	${PORTNAME}/releases/${PORTNAME}-${GCCVERSION}
XPKGNAMEPREFIX=	msp430-
XDISTFILES=	${PORTNAME}-core-${GCCVERSION}${EXTRACT_SUFX} \
X		${PKGNAMEPREFIX}${PORTNAME}-${GCCVERSION}.${PATCHVERSION}${EXTRACT_SUFX}:patches
X
XMAINTAINER=	lev@serebryakov.spb.ru
X
XBUILD_DEPENDS=	${PKGNAMEPREFIX}as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils \
X		${PKGNAMEPREFIX}ld:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils
XRUN_DEPENDS=	${PKGNAMEPREFIX}as:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils \
X		${PKGNAMEPREFIX}ld:${PORTSDIR}/devel/${PKGNAMEPREFIX}binutils
X
XGCCVERSION=	3.2
XPATCHVERSION=	20021016
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${GCCVERSION}
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_LIBTOOL=	yes
XCONFIGURE_ARGS=	--target=${PKGNAMEPREFIX:S/-$//} \
X		--enable-languages=c
XMAKE_ENV=	PATH=${PREFIX}/bin:${PATH}
XLIBTOOLFILES=	configure gcc/configure
XMAN1=		${PKGNAMEPREFIX}gcc.1 cpp.1 gcov.1
XMAN7=		fsf-funding.7 gfdl.7 gpl.7
X
XPLIST_SUB+=	PORTVERSION=${PORTVERSION} GCC_TARG=${PKGNAMEPREFIX:S/-$//} \
X		GCC_REV=${GCCVERSION}
X
XBINARIES	= gcc cpp
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,' ${WRKSRC}/gcc/Makefile
X
Xpost-install:
X.for F in ${BINARIES}
X	@strip ${PREFIX}/bin/${PKGNAMEPREFIX}$F
X	@${LN} -f ${PREFIX}/bin/${PKGNAMEPREFIX}$F \
X		${PREFIX}/${PKGNAMEPREFIX:S/-$//}/bin/$F
X.endfor
X
X.include <bsd.port.mk>
END-of-msp430-gcc/Makefile
echo x - msp430-gcc/pkg-plist
sed 's/^X//' >msp430-gcc/pkg-plist << 'END-of-msp430-gcc/pkg-plist'
X%%GCC_TARG%%/bin/cpp
X%%GCC_TARG%%/bin/gcc
Xbin/%%GCC_TARG%%-cpp
Xbin/%%GCC_TARG%%-gcc
Xbin/%%GCC_TARG%%-gccbug
Xbin/%%GCC_TARG%%-gcov
Xlib/charset.alias
Xlib/libiberty.a
Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/cc1
Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/collect2
Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/cpp0
Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/README
Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/fixed
Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/float.h
Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/iso646.h
Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/limits.h
Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/stdarg.h
Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/stdbool.h
Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/stddef.h
Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/syslimits.h
Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include/varargs.h
Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/libgcc.a
Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/msp1/libgcc.a
Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/msp2/libgcc.a
Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/specs
Xlib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/tradcpp0
Xshare/locale/da/LC_MESSAGES/gcc.mo
Xshare/locale/el/LC_MESSAGES/gcc.mo
Xshare/locale/es/LC_MESSAGES/gcc.mo
Xshare/locale/fr/LC_MESSAGES/gcc.mo
Xshare/locale/ja/LC_MESSAGES/gcc.mo
Xshare/locale/nl/LC_MESSAGES/gcc.mo
Xshare/locale/sv/LC_MESSAGES/gcc.mo
Xshare/locale/tr/LC_MESSAGES/gcc.mo
X@dirrm lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/include
X@dirrm lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/msp1
X@dirrm lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%/msp2
X@dirrm lib/gcc-lib/%%GCC_TARG%%/%%GCC_REV%%
X@dirrm lib/gcc-lib/%%GCC_TARG%%
X@dirrm lib/gcc-lib
X
END-of-msp430-gcc/pkg-plist
echo x - msp430-gcc/pkg-comment
sed 's/^X//' >msp430-gcc/pkg-comment << 'END-of-msp430-gcc/pkg-comment'
XFSF gcc-3.2 for TI's msp430 MCUs cross-development
END-of-msp430-gcc/pkg-comment
echo x - msp430-gcc/pkg-descr
sed 's/^X//' >msp430-gcc/pkg-descr << 'END-of-msp430-gcc/pkg-descr'
XFSF gcc-3.2 for TI's msp430 MCUs cross-development
X
XThis brings the gcc compiler for the Texas Instruments MSP430 16-bit
XRISC-like family of microcontrollers.
X
XIncludes only C compiler.
X
XGCC site:    http://gcc.gnu.org/
XMSP430 site: http://www.ti.com/msp430/
X
XWWW: http://mspgcc.sf.net/
END-of-msp430-gcc/pkg-descr
echo x - msp430-gcc/distinfo
sed 's/^X//' >msp430-gcc/distinfo << 'END-of-msp430-gcc/distinfo'
XMD5 (gcc-core-3.2.tar.bz2) = 237d1cd956518f89a618172467d97811
XMD5 (msp430-gcc-3.2.20021016.tar.bz2) = 2fcbacbb5214e68adbf2a1216a40f920
END-of-msp430-gcc/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?200210161359.g9GDxEPk056260>