1 |
On Wednesday 02 December 2009 10:17:31 Shinkan wrote: |
2 |
> I read from "Creating a Cross Compiler" ( |
3 |
> http://www.gentoo.org/proj/en/base/embedded/handbook/index.xml?part=1&chap= |
4 |
> 4) that cross-compiling env is popped to /usr/$CTARGET |
5 |
> Is there any clean way of setting this to another directory like |
6 |
> /mytargets/atarget/build_env/ ? |
7 |
|
8 |
not really. the sysroot (/usr/CTARGET) is used throughout the toolchain |
9 |
(binutils/gcc/glibc/etc...). you can emerge packages to a different ROOT=, |
10 |
but it just gets painful to teach gcc to use that other ROOT as an additional |
11 |
system path. |
12 |
-mike |