crosstool.sh: Brown paper-bag bug
Jan-Benedict Glaw
jbglaw@lug-owl.de
Mon May 17 17:39:00 GMT 2004
On Mon, 2004-05-17 18:27:28 +0200, Jan-Benedict Glaw <jbglaw@lug-owl.de>
wrote in message <20040517162728.GX1912@lug-owl.de>:
> On Mon, 2004-05-17 08:06:18 -0700, Dan Kegel <dank@kegel.com>
> wrote in message <40A8D4EA.4090204@kegel.com>:
> > Jan-Benedict Glaw wrote:
> > >> * assume canadian cross if BUILD and HOST are set by caller (untested)
>
> While we are at it... That bust have been quite a strong beer last
> night:)
>
> --- crosstool.sh~bugfixes 2004-05-17 18:19:19.000000000 +0200
> +++ crosstool.sh 2004-05-17 18:24:55.000000000 +0200
> @@ -59,7 +59,7 @@
> test -z "${CXXFLAGS}" || abort "Don't set CXXFLAGS, it screws up the build"
>
> echo 'Did user specify BUILD and HOST in environment to force canadian cross?'
> -if test "$BUILD" != "" && test $HOST" != ""; then
> +if test "$BUILD" != "" && test "$HOST" != ""; then
> echo "It's a canadian cross, so we'll set --build for gcc and binutils"
> CANADIAN_BUILD="--build=$BUILD"
> else
You catched this one, ...
> @@ -114,7 +114,7 @@
>
> # If user isn't doing a canadian cross, add the target compiler's bin to
> # the path, so we can use the compiler we build to build glibc etc.
> -if "$CANADIAN_BUILD" = ""; then
> +if test "$CANADIAN_BUILD" = ""; then
> PATH="${PREFIX}/bin:${PATH}"
> export PATH
> fi
But isn't this needed, too?
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20040517/ab0d1e99/attachment.sig>
More information about the crossgcc
mailing list