Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
To: buildroot@busybox.net
Subject: [Buildroot] Qtopia4 fails building - target stage tries to run	target binaries on build machine
Date: Tue, 31 Jul 2007 14:35:18 +0200	[thread overview]
Message-ID: <1185885318.24720.3.camel@localhost.localdomain> (raw)
In-Reply-To: <37c712e0707310526n3e3a8c64v33b7717bad6fd464@mail.gmail.com>


On Tue, 2007-07-31 at 08:26 -0400, Allan Clark wrote:
> On 7/31/07, Thomas Lundquist <lists@zelow.no> wrote:
> > On Tue, Jul 31, 2007 at 10:22:03AM +0200, Hans-Christian Egtvedt wrote:
> > >
> > > As I said, it tries to execute moc, but moc is compiled for the target.
> >
> > Weird.
> >
> > > The problem arises when building the target Qtopia, it tries to use moc
> > > et.al compiled for the target architecture. And when running a
> > > big-endian AVR32 binary on my little-endian x86 laptop, it fails ;)
> >
> > But of course.
> >
> > the weird part is that the makefile was made for compiling qtopia on
> > ARM, which means moc & co was compiled for the right platform(s).
> 
> ...but qmake and moc are supposed to run on the build host, not on the
> target.  They are only used during development, not during runtime.

Then why is Qtopia a two stage build? Then only a normal cross-compile
is needed.

I could see the need if a user would like to compile Qt applications on
target, but I guess not many people does that.

-- 
With kind regards,

Hans-Christian Egtvedt, siv.ing. (M.Sc.)
Applications Engineer - AVR32 System Solutions - Atmel Norway

  reply	other threads:[~2007-07-31 12:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-30 11:58 [Buildroot] Qtopia4 fails building - target stage tries to run target binaries on build machine Hans-Christian Egtvedt
2007-07-30 12:43 ` Bernhard Fischer
2007-07-30 18:54 ` Thomas Lundquist
2007-07-31  8:22   ` Hans-Christian Egtvedt
2007-07-31  9:38     ` Thomas Lundquist
2007-07-31 10:15       ` Hans-Christian Egtvedt
2007-07-31 12:26       ` Allan Clark
2007-07-31 12:35         ` Hans-Christian Egtvedt [this message]
2007-07-31 14:27           ` Allan Clark
2007-07-31 14:41             ` Hans-Christian Egtvedt
2007-08-01  7:45               ` Thomas Lundquist

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=1185885318.24720.3.camel@localhost.localdomain \
    --to=hcegtvedt@atmel.com \
    --cc=buildroot@busybox.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox