Hi all,

I'm developing on BBB and I'm new to Angstrom. I have build a toolchain
with the angstrom-v2013.06-yocto1.4 branch of setup-scripts (
https://github.com/Angstrom-distribution/setup-scripts/ ) using `bitbake
meta-toolchain`. But when I want to use the toolchain to cross compile a
program statically, I got an error:

arm-angstrom-linux-gnueabi-gcc -std=gnu99 -static
--sysroot=/home/grissiom/x-tools/angstrom-toolchain//sysroots/armv7ahf-vfp-neon-angstrom-linux-gnueabi
tests/vbus_ser.c -o vbus_ser
/home/grissiom/x-tools/angstrom-toolchain/sysroots/i686-angstromsdk-linux/usr/bin/armv7ahf-vfp-neon-angstrom-linux-gnueabi/../../libexec/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.7.4/ld:
cannot find -lc
collect2: error: ld returned 1 exit status

I could only find the libc.so in the sysroot but no libc.a. Is there anyway
to let the toolchain install static libs?

-- 
Cheers,
Grissiom
_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to