All of lore.kernel.org
 help / color / mirror / Atom feed
* gcc reports sysroot is /not/exist!
@ 2015-09-15  8:48 Chris Simmonds
  2015-09-15  8:58 ` Paul Eggleton
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Simmonds @ 2015-09-15  8:48 UTC (permalink / raw)
  To: yocto

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-09-15 17:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-15  8:48 gcc reports sysroot is /not/exist! Chris Simmonds
2015-09-15  8:58 ` 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

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.