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

Reply via email to