cross-compiler sysroot location

Osborne Hardison hardisun at gmail.com
Thu Mar 29 03:22:55 CEST 2007


I've found that the OM cross compiler gets built without the --with-sysroot=
configure option, and if I move it and it's libs and includes to say
/usr/local/arm/4.1.1, compiles won't work without explicitly invoking the
arm-linux-gcc with a '-sysroot=' option.

If I change this behavior in the
moko/openembedded/packages/gcc-cross_4.1.1.bb:

-EXTRA_OECONF += "--with-mpfr=${STAGING_DIR}/${BUILD_SYS}
=============
+EXTRA_OECONF += "--with-mpfr=${STAGING_DIR}/${BUILD_SYS}
--with-sysroot=/usr/local/arm/4.1.1"

would this work, or is there a better way?


Osborne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/openmoko-devel/attachments/20070328/52b7c01e/attachment.html


More information about the openmoko-devel mailing list