All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: LPC3250, helloworld-image, configure: error: cannot run C compiled programs
Date: Sat, 22 Aug 2009 23:53:05 -0700	[thread overview]
Message-ID: <20090823065305.GA6361@gmail.com> (raw)
In-Reply-To: <4A90C2F4.1010300@gmail.com>

On (23/08/09 10:17), Dmitry Vinokurov wrote:
> >>>ERROR: '/home/raydan/work/oe/openembedded/recipes/module-init-tools/module-init-tools-cross_3.2.2.bb'
> >>>failed
> >>>--------
> >>>
> >>>I.e. bitbake again confused cross-gcc and x86-gcc. Updated my OE
> >>>with git pull, removed tmp/ and made rebuild -- same result.
> >>Looks like error is in wrong ./configure parameter:
> >>--host=i686-linux instead of --host=arm-oe-linux-gnueabi .
> >>Now I'm trying to find, why --host was set to i686 and where it can
> >>be changed.
> >
> >its a cross package so host being i686-linux (I suppose you are building
> >on i686 box) is ok. Look into the config.log error message should be in
> >there
> >
> >-Khem
> Hm, "configure --help" says "--host=HOST cross-compile to build
> programs to run on HOST [BUILD]" and as I understand, I will run
> programs on ARM, so it should be 'arm-oe-linux-gnueabi'.
> 
> Anyway, even if host should be x86, instead of i686-linux-gcc it
> finds arm-vfp-linux-gcc and fails.

dont confuse pure cross with canadian cross. You are doing a normal
cross build here which means build machine is same as host machine.

Your problem is probably because you are overriding CC and friends
which could be confusing (already confused) configure even more.

Try setting CC_FOR_BUILD=<your native compiler on the build machine>

Thanks

-Khem



  reply	other threads:[~2009-08-23  7:10 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-20 13:01 LPC3250, helloworld-image, configure: error: cannot run C compiled programs Dmitry Vinokurov
2009-08-20 13:23 ` Holger Hans Peter Freyther
2009-08-20 13:26 ` Holger Hans Peter Freyther
2009-08-20 18:42   ` Dmitry Vinokurov
2009-08-21  1:10     ` Holger Hans Peter Freyther
2009-08-21  1:43     ` Holger Hans Peter Freyther
2009-08-22  7:18       ` Dmitry Vinokurov
2009-08-22  7:45         ` Dmitry Vinokurov
2009-08-22 23:17           ` Khem Raj
2009-08-23  4:17             ` Dmitry Vinokurov
2009-08-23  6:53               ` Khem Raj [this message]
2009-08-23 13:25                 ` Dmitry Vinokurov
2009-08-23 15:43                   ` Khem Raj
2009-08-25 17:47                     ` Dmitry Vinokurov
2009-08-29  9:09                       ` Dmitry Vinokurov
2009-08-24 12:34       ` Rolf Offermanns

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=20090823065305.GA6361@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-devel@lists.openembedded.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.