diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/arm-wince-cegcc-gcc-base | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/arm-wince-cegcc-gcc-base')
-rw-r--r-- | community/arm-wince-cegcc-gcc-base/PKGBUILD | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/community/arm-wince-cegcc-gcc-base/PKGBUILD b/community/arm-wince-cegcc-gcc-base/PKGBUILD new file mode 100644 index 000000000..50d765ac0 --- /dev/null +++ b/community/arm-wince-cegcc-gcc-base/PKGBUILD @@ -0,0 +1,55 @@ +# $Id: PKGBUILD 61005 2011-12-20 11:51:03Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=arm-wince-cegcc-gcc-base +pkgver=0.59.1 +pkgrel=3 +_prefix=/opt/cegcc +pkgdesc="CE GCC bundle - cross compilation tools for WinCE" +arch=(i686 x86_64) +license=(GPL) +options=(!libtool) +url="http://cegcc.sf.net" +depends=('glibc' 'mpfr' 'cloog') +makedepends=(arm-wince-cegcc-binutils) +source=(http://arch.p5n.pp.ru/~sergej/dl/cegcc-$pkgver.tar.bz2) +md5sums=('5e3c1098abdf8e5db2a3518ee3578b4b') + +build() { + cd $srcdir/cegcc/src + + mkdir build-gcc-base || true + cd build-gcc-base + + export PATH=$_prefix/bin:$PATH + export TARGET=arm-wince-cegcc + unset CFLAGS + unset LDFLAGS + unset MAKEFLAGS + + ../gcc-4.4.0/configure \ + --with-gcc \ + --with-gnu-ld \ + --with-gnu-as \ + --target=arm-wince-cegcc \ + --build=$CARCH \ + --host=$CARCH \ + --prefix=${_prefix} \ + --disable-threads \ + --disable-nls \ + --disable-shared \ + --enable-languages=c \ + --disable-win32-registry \ + --disable-multilib \ + --disable-interwork \ + --without-headers \ + --with-as=$_prefix/bin/arm-wince-cegcc-as \ + --with-ld=$_prefix/bin/arm-wince-cegcc-ld \ + --with-local-prefix=$_prefix \ + --enable-checking + + make all-gcc || (cd gcc && make) && make all-gcc + make DESTDIR=$pkgdir install-gcc + find $pkgdir/${_prefix} -type f -name \*.a -exec arm-wince-cegcc-ranlib {} \; + cd $pkgdir/${_prefix} && ln -s arm-wince-cegcc arm-cegcc +} |