installation path for cross compiler

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Thu Jun 22 13:10:38 UTC 2006


mailinglists at erwinrol.com (Erwin Rol) writes:

> what would be the correct installation path for a cross-compiler and
> it's support include files and libraries ?

We are packaging the cross stuff in the following way:

/usr/
|-- bin/
|   |-- arm-xscale-linux-uclibc-ar      -> ../arm-xscale-linux-uclibc/bin/ar
|   |-- arm-xscale-linux-uclibc-gcc     -> ../arm-xscale-linux-uclibc/bin/gcc
|       ... ditto for the other devel tools ...
|       ... in fact, some 'alternative' magic is involved too ...
|
|-- arm-xscale-linux-uclibc
|   |-- bin/
|   |   `-- ... lot of host executable files ...
|   `-- sys-root/
|       |-- bin/
|       |   |-- busybox
|       |       ... lot of target binaries ...
|       |-- lib/
|           |-- ld-uClibc-0.9.28.so
|               ... lot of target libraries ...
|-- lib/
|   |-- gcc/
|   |   |-- arm-xscale-linux-uclibc/
|   |   |   |-- 4.1.1/
|   |   |   |   ... lot of gcc 4.1.1 target files ...
|
|-- libexec/
|   |-- gcc/
|   |   |-- arm-xscale-linux-uclibc/
|   |   |   |-- 4.1.1/
|   |   |   |   ... lot of gcc 4.1.1 host files ...


/usr/$ARCH/sys-root is packaged relocatable but it is a good place for
target libraries and include files because gcc/binutils are looking
there for them.



Enrico




More information about the fedora-devel-list mailing list