On Wednesday 02 December 2009 10:17:31 Shinkan wrote:
> I read from "Creating a Cross Compiler" (
> http://www.gentoo.org/proj/en/base/embedded/handbook/index.xml?part=1&chap=
> 4) that cross-compiling env is popped to /usr/$CTARGET
> Is there any clean way of setting this to another directory like
> /mytargets/atarget/build_env/ ?

not really.  the sysroot (/usr/CTARGET) is used throughout the toolchain 
(binutils/gcc/glibc/etc...).  you can emerge packages to a different ROOT=, 
but it just gets painful to teach gcc to use that other ROOT as an additional 
system path.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to