view build.sh @ 59:18c065749b79

Add i686 and x86_64 config files. (Might or might not work, dunno.) Work around a gcc bug where building x86 on x86 isn't considered a cross compiler (and thus doesn't have prefixes on tool names, so it tries to use host's glibc+threads ld with uClibc+nothreads gcc, which doesn't work). Workaround: build binutils and gcc with --program-prefix="${ARCH}-". Fix up fallout: remove renaming loop in cross-compiler.sh. Also, work around yet another gcc bug (wants to use ${CROSS}-ar instead of ${ARCH}-ar during build when names change this early.) i686 uClibc toolchain builds now (cross-compiler at least).
author Rob Landley <rob@landley.net>
date Sat, 23 Dec 2006 02:49:48 -0500
parents f510ed16a6a0
children 153ba1a0b427
line wrap: on
line source

#!/bin/sh

./download.sh &&
./cross-compiler.sh $1 &&
./mini-native.sh $1