Robert, Yeah I was noticing that your build scripts pull in an additional
Linaro GCC compiler when compiling the kernel. Last time I built, I seemed
to recall that it was a different version too. So, we use one version to
build u-boot, and another to build the kernel.

However with any GCC, "we" should be able to specify which LIBC we use . .
. not that I know for sure offhand exactly how, as it is something I need
to brush up on myself.


On Wed, May 28, 2014 at 1:50 PM, Robert Nelson <[email protected]>wrote:

> On Wed, May 28, 2014 at 3:47 PM, Andrew Core <[email protected]>
> wrote:
> > Hi, I can't seem to find a cross compiler for debian BBB that works
> > (consistently) on Ubuntu 14.04
> >
> > I'm using the latest debian image for BBB from
> > beagleboard.org/latest-images.
> >
> > I'm running 64 bit Ubuntu 14.04.  I've managed to make my programs run on
> > Angstrom, but I've been failing for about a week trying to port to
> Debian.
> >
> > I tried the Linaro gcc at
> >
> http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-uEnv.txtbasedbootscript
> > and arm-linux-gnueabihf-g++ worked for most of my files.  However, two
> of my
> > files will compile and fail to run on the BBB.
> >
> > I enter:
> > arm-linux-gnueabihf-g++ -Wall -Wno-unused-parameter -W -Wshadow
> > -DARM_COMPILE -pthread -lstdc++ -lrt -o fileName $(SRCS)
> >
> > and when I run the file on the BBB (./fileName, like I did for the other
> > programs that worked), I get:
> > ./fileName: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.17' not
> > found (required by ./fileName)
>
> Debian wheezy only has "GLIBC_2.13"..
>
> > What did I do wrong?  Alternatively, is there a different cross tool
> chain?
> >
> > Sorry to take up your time, and thanks in advance for the help.
>
> These *.deb match Debian Wheezy, not sure if they'll install in 14.04:
>
> http://rcn-ee.net/deb/cross/test/
>
> built with:
> https://github.com/RobertCNelson/cross-compiler
>
> in a Wheezy VM.
>
> Regards,
>
> --
> Robert Nelson
> http://www.rcn-ee.com/
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to