From: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
To: Junio C Hamano <gitster@pobox.com>
Cc: Johannes Schindelin <Johannes.Schindelin@gmx.de>,
Julius Naperkowski <j.nap@gmx.de>,
git@vger.kernel.org
Subject: Re: [PATCH] Provide pessimistic defaults for cross compilation tests.
Date: Tue, 20 Jan 2009 07:59:39 +0100 [thread overview]
Message-ID: <20090120065939.GC5561@ins.uni-bonn.de> (raw)
In-Reply-To: <7vab9mpu8w.fsf@gitster.siamese.dyndns.org>
* Junio C Hamano wrote on Tue, Jan 20, 2009 at 03:49:03AM CET:
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
>
> > How do you deal with the hardcoded limitation that uname_S is defined to
> > be the output of "uname -s" on the _build_ system, and that quite a large
> > part of the Makefile sets variables dependent on this?
Oh, up to now I have blissfully ignored cross-compilation issues in git
outside of configure.ac. :-)
> > IOW are you certain that configure (with your patch) will override _all_
> > uname_S dependent settings?
No, I am certain they won't override them at all.
Fixing Makefile will be more (but independent) work. All I did was get
configure.ac in shape to not error out in the face of cross compilation.
> It may be a valid question but it is not limited to cross compilation, is
> it? The matter is if values the Makefile wants to default to can be
> overriden by whatever is placed in config.mak, and as long as that is Ok
> we won't have a problem with or without use of configure (which is a
> second class citizen).
Yeah, I figured that. I assume it makes little sense to suggest adding
AC_CANONICAL_HOST to configure.ac, letting config.{guess,sub} do their
job, and the user to use "./configure --host=some-value" to specify a
host alias, and then using the computed host triple to decide features,
without the need to modify Makefile or other input files.
See, in a way I come from the GNU world here, and that's what I know
best. Since git does its own setup here, I trust you will invent some
way to solve this.
Thanks,
Ralf
next prev parent reply other threads:[~2009-01-20 7:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-15 13:22 autoconf: C99 format check Julius Naperkowski
2009-01-16 9:41 ` Ralf Wildenhues
2009-01-19 20:34 ` [PATCH] Provide pessimistic defaults for cross compilation tests Ralf Wildenhues
2009-01-19 23:39 ` Johannes Schindelin
2009-01-20 2:49 ` Junio C Hamano
2009-01-20 6:59 ` Ralf Wildenhues [this message]
2009-01-20 6:50 ` Junio C Hamano
2009-01-20 7:04 ` Ralf Wildenhues
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=20090120065939.GC5561@ins.uni-bonn.de \
--to=ralf.wildenhues@gmx.de \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=j.nap@gmx.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).