All of lore.kernel.org
 help / color / mirror / Atom feed
From: "mar.krzeminski" <mar.krzeminski@gmail.com>
To: yocto@yoctoproject.org
Subject: Re: Can not compile u-boot with meta toolchain
Date: Tue, 16 Jun 2015 21:36:43 +0300	[thread overview]
Message-ID: <55806CBB.8030602@gmail.com> (raw)
In-Reply-To: <558067FA.7080105@gmail.com>

That does the trick:

make CROSS_COMPILE=arm-poky-linux-gnueabi- 
CC="arm-poky-linux-gnueabi-gcc 
--sysroot=/media/work/sdk/sysroots/armv7a-vfp-neon-poky-linux-gnueabi" all

Regards,
Marcin

W dniu 16.06.2015 o 21:16, mar.krzeminski pisze:
> Hi,
>
> I've got problem with compiling u-boot usind SDK.
> I am building image for my platform, then I am running commnad bitbake 
> meta-toolchain.
> In result I've got:
>   CC      examples/standalone/hello_world.o
>   LD      examples/standalone/hello_world
> arm-poky-linux-gnueabi-ld.bfd: cannot find -lgcc
> make[2]: *** [examples/standalone/hello_world] Error 1
> scripts/Makefile.build:421: recipe for target 'examples/standalone' 
> failed
> make[1]: *** [examples/standalone] Error 2
> Makefile:1145: recipe for target 'examples' failed
> make: *** [examples] Error 2
>
> In yocto environment u-boot builds fine.
> I've also tried
> unset LDFLAGS
> unset CFLAGS
> unset CPPFLAHS
> before compilation.
>
> What might be wrong here?
>
> Regards,
> Marcin



      reply	other threads:[~2015-06-16 18:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-16 18:16 Can not compile u-boot with meta toolchain mar.krzeminski
2015-06-16 18:36 ` mar.krzeminski [this message]

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=55806CBB.8030602@gmail.com \
    --to=mar.krzeminski@gmail.com \
    --cc=yocto@yoctoproject.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.