From: Chris Friesen <chris.friesen@genband.com>
To: Richard Henderson <rth@twiddle.net>
Cc: Jan Kiszka <jan.kiszka@web.de>,
qemu-devel@nongnu.org, kvm@vger.kernel.org,
Avi Kivity <avi@redhat.com>
Subject: Re: [BUG] need to export variables in config.mak
Date: Fri, 30 Sep 2011 12:14:27 -0600 [thread overview]
Message-ID: <4E860703.5000906@genband.com> (raw)
In-Reply-To: <4E8601C8.7030109@twiddle.net>
On 09/30/2011 11:52 AM, Richard Henderson wrote:
> On 09/30/2011 10:07 AM, Chris Friesen wrote:
>> We've been playing a bit with kvm-kmod-3.0b. We use a cross compile
>> environment, and one of my coworkers noticed that the variables in
>> config.mak weren't actually exported and so didn't actually have any
>> effect.
>
> Please elaborate on "no effect", and what actual problems you are
> experiencing. I do cross-compilation builds all the time and have
> no such problems.
The behaviour I see is that I configure with --cross-prefix=<prefix>
then the appropriate prefix gets set in config.mak. However, when
running "make" the prefix doesn't actually get used.
If building for the same target as the host machine this isn't
immediately obvious because it uses the host compiler. However, if you
run "make V=1" it will show which compiler is being used.
Chris
--
Chris Friesen
Software Developer
GENBAND
chris.friesen@genband.com
www.genband.com
WARNING: multiple messages have this Message-ID (diff)
From: Chris Friesen <chris.friesen@genband.com>
To: Richard Henderson <rth@twiddle.net>
Cc: Jan Kiszka <jan.kiszka@web.de>,
qemu-devel@nongnu.org, kvm@vger.kernel.org,
Avi Kivity <avi@redhat.com>
Subject: Re: [Qemu-devel] [BUG] need to export variables in config.mak
Date: Fri, 30 Sep 2011 12:14:27 -0600 [thread overview]
Message-ID: <4E860703.5000906@genband.com> (raw)
In-Reply-To: <4E8601C8.7030109@twiddle.net>
On 09/30/2011 11:52 AM, Richard Henderson wrote:
> On 09/30/2011 10:07 AM, Chris Friesen wrote:
>> We've been playing a bit with kvm-kmod-3.0b. We use a cross compile
>> environment, and one of my coworkers noticed that the variables in
>> config.mak weren't actually exported and so didn't actually have any
>> effect.
>
> Please elaborate on "no effect", and what actual problems you are
> experiencing. I do cross-compilation builds all the time and have
> no such problems.
The behaviour I see is that I configure with --cross-prefix=<prefix>
then the appropriate prefix gets set in config.mak. However, when
running "make" the prefix doesn't actually get used.
If building for the same target as the host machine this isn't
immediately obvious because it uses the host compiler. However, if you
run "make V=1" it will show which compiler is being used.
Chris
--
Chris Friesen
Software Developer
GENBAND
chris.friesen@genband.com
www.genband.com
next prev parent reply other threads:[~2011-09-30 18:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-30 17:07 [BUG] need to export variables in config.mak Chris Friesen
2011-09-30 17:07 ` [Qemu-devel] " Chris Friesen
2011-09-30 17:12 ` Jan Kiszka
2011-09-30 17:12 ` [Qemu-devel] " Jan Kiszka
2011-09-30 17:40 ` [PATCH] " Chris Friesen
2011-09-30 17:40 ` [Qemu-devel] " Chris Friesen
2011-10-03 7:57 ` Jan Kiszka
2011-10-03 7:57 ` [Qemu-devel] " Jan Kiszka
2011-09-30 17:52 ` [Qemu-devel] [BUG] " Richard Henderson
2011-09-30 17:52 ` Richard Henderson
2011-09-30 18:00 ` Alexander Graf
2011-09-30 18:14 ` Chris Friesen [this message]
2011-09-30 18:14 ` Chris Friesen
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=4E860703.5000906@genband.com \
--to=chris.friesen@genband.com \
--cc=avi@redhat.com \
--cc=jan.kiszka@web.de \
--cc=kvm@vger.kernel.org \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/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.