From: Bruce Dubbs <bruce.dubbs@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: autogen.sh warnings
Date: Thu, 10 Dec 2009 00:05:30 -0600 [thread overview]
Message-ID: <4B208FAA.6020709@gmail.com> (raw)
In-Reply-To: <1260404737.2881.27.camel@fz.local>
Felix Zielcke wrote:
> Am Mittwoch, den 09.12.2009, 17:28 -0600 schrieb Bruce Dubbs:
>> Felix Zielcke wrote:
>>> Am Mittwoch, den 09.12.2009, 16:19 -0600 schrieb Bruce Dubbs:
>>> config.guess and config.sub are used by configure.
>> Called yes, and it will give errors if not present, but is the output
>> used? Looking at configure, I don't think so.
> Just looking at the second result for searching config.guess in
> configure makes it pretty clear for what they're used:
> { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
> $as_echo_n "checking build system type... " >&6; }
> if test "${ac_cv_build+set}" = set; then :
> $as_echo_n "(cached) " >&6
> else
> ac_build_alias=$build_alias
> test "x$ac_build_alias" = x &&
> ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
> test "x$ac_build_alias" = x &&
> as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
> ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
> as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
> [...]
> build=$ac_cv_build
OK, I see now what config.sub does and it is ultimately defining host_os
and target_cpu used by grub in several .in files.
On the other hand, config.guess is used to get build_cpu and build_os
and I don't see that being used at all right now by grub.
One thing I think we can agree on is that tracing through
autoconf/automake generated files is not easy. However, it's the only
way I know of to really understand what is going on. The autoconf
manual really doesn't explain it very well, at least for me. There are
several tutorials and books on autotools, but none that I've seen go
into the level of complexity required by grub.
-- Bruce
next prev parent reply other threads:[~2009-12-10 6:05 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-07 17:38 autogen.sh warnings Bruce Dubbs
2009-12-07 19:21 ` Colin Watson
2009-12-07 20:28 ` Bruce Dubbs
2009-12-07 22:12 ` Vladimir 'φ-coder/phcoder' Serbinenko
2009-12-07 23:07 ` Bruce Dubbs
2009-12-07 22:40 ` Colin Watson
2009-12-07 23:26 ` Bruce Dubbs
2009-12-09 21:52 ` Robert Millan
2009-12-09 22:19 ` Bruce Dubbs
2009-12-09 22:34 ` Felix Zielcke
2009-12-09 23:28 ` Bruce Dubbs
2009-12-10 0:25 ` Felix Zielcke
2009-12-10 6:05 ` Bruce Dubbs [this message]
2009-12-10 10:15 ` Felix Zielcke
2009-12-10 16:20 ` Bruce Dubbs
2009-12-24 21:13 ` Robert Millan
2009-12-29 3:50 ` Bruce Dubbs
2010-01-01 11:33 ` Robert Millan
2010-01-01 16:57 ` Bruce Dubbs
2010-01-03 16:25 ` Robert Millan
2009-12-10 0:49 ` Robert Millan
2009-12-09 22:56 ` Robert Millan
2009-12-07 19:50 ` Vladimir 'φ-coder/phcoder' Serbinenko
2009-12-07 20:51 ` Bruce Dubbs
2009-12-07 22:16 ` Vladimir 'φ-coder/phcoder' Serbinenko
2009-12-07 22:49 ` Bruce Dubbs
2009-12-07 23:54 ` Colin Watson
2009-12-08 0:01 ` Vladimir 'φ-coder/phcoder' Serbinenko
2009-12-08 0:13 ` Bruce Dubbs
2010-01-07 19:14 ` Robert Millan
2009-12-08 0:16 ` Colin Watson
2009-12-08 0:34 ` Building system (Re: autogen.sh warnings) Vladimir 'φ-coder/phcoder' Serbinenko
2009-12-08 3:40 ` Bruce Dubbs
2009-12-08 10:20 ` autogen.sh warnings Felix Zielcke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B208FAA.6020709@gmail.com \
--to=bruce.dubbs@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.