All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Simmonds <chris@2net.co.uk>
To: yocto@yoctoproject.org
Subject: gcc reports sysroot is /not/exist!
Date: Tue, 15 Sep 2015 09:48:34 +0100	[thread overview]
Message-ID: <55F7DB62.20302@2net.co.uk> (raw)

Hi,

I am using Yocto fido (1.8) to generate an SDK for a BeaglBone. I
generate the it using the command:

$ bitbake core-image-minimal -c populate_sdk

Having installed the resulting SDK and sourced
/opt/poky/1.8/environment-setup-cortexa8hf-vfp-neon-poky-linux-gnueabi

I find that the sysroot is not set:

$ arm-poky-linux-gnueabi-gcc -print-sysroot
/not/exist

This used to work fine in 1.7 and earlier. It looks like now I have to
use $CC in place of arm-poky-linux-gnueabi-gcc, but that messes up many
Makefiles which set the compiler with something like

CC=$(CROSS_COMPILE)gcc

What to do? Why is gcc not configured with a sysroot any more?

Chris Simmonds.


             reply	other threads:[~2015-09-15  8:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-15  8:48 Chris Simmonds [this message]
2015-09-15  8:58 ` gcc reports sysroot is /not/exist! Paul Eggleton
2015-09-15  9:20   ` Chris Simmonds
2015-09-15  9:45     ` Richard Purdie
2015-09-15 14:09       ` Chris Simmonds
2015-09-15 17:22         ` Robert Berger

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=55F7DB62.20302@2net.co.uk \
    --to=chris@2net.co.uk \
    --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.