This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Wed, 2004-05-26 14:53:26 -0700, Daniel Kegel <dank@kegel.com> wrote in message <40B511D6.2050906@kegel.com>: > >--- crosstool.sh~BUILD_from_external 2004-05-26 23:19:20.000000000 +0200 > >+++ crosstool.sh 2004-05-26 23:19:54.000000000 +0200 > >@@ -62,7 +62,9 @@ > > # Get description of the build machine from autotools, but since old > > # autotools (e.g. the one in gcc-2.95) barfs if you're on an x86_64, > > # use our own copy > >-BUILD=`$TOP_DIR/config.guess` > >+if test -z "${BUILD}"; then > >+ BUILD=`$TOP_DIR/config.guess` > >+fi > > > > if test "$GCC_HOST" != ""; then > > # Modify $BUILD so gcc never, ever thinks $build = $host > > Sure, I can do that. (I'll probably make it take GCC_BUILD as the > environment variable, though, by analogy with GCC_HOST. I can't > use HOST because that's overidden by tcsh.) > Can I ask why this helps, though? > How is your BUILD different from what config.guess outputs? $TOP_DIR/config.guess is only available, if you fully extract crosstool.tgz. However, I'm only a user of crosstool.sh, so there's no $TOP_DIR/config.guess, but BUILD=`/usr/share/misc/config.guess` ./crosstool.sh (along with a load of other variables) works quite good:) Your script is better than you already know... 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));
Attachment:
signature.asc
Description: Digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |