Problems using crossdev
Hi Daniel,
I did not try the steps in the handbook
but i tried the following two steps to get the cross-compile environment:
#emerge crossdev-wrappers
#emerge-wrapper --init
If this succeeded,you can now cross-emerge. if you check* /usr/${CTARGET} you will find cross-
compile environment including portage configuration files in /usr/${CTARGET}/etc.
I hope this helps you.
Mirage.
On Wed, Mar 31, 2010 at 2:32 PM, Daniel Vergien <daniel.vergien@rrz.uni-hamburg.de> wrote:
Hi list,
I just try to use sys-devel/crossdev. I follow the embedded handbook (http://www.gentoo.org/proj/en/base/embedded/handbook/index.xml)
I've created a toolchain with:
crossdev -t i686-pc-linux-uclibc
Using the i686-pc-linux-uclibc-gcc also worked like in the handbook.
As the next step I wanted to get the cross-emerge like in section 3.
I've set:
CBUILD=i686-pc-linux-gnu
CHOST=i686-pc-linux-uclibc
SYSROOT=/usr/i686-pc-linux-uclibc
ROOT=$SYSROOT
PORTAGE_CONFIGROOT=$SYSROOT
and added sys-devel/crossdev ~* to my package.keywords
but "emerge crossdev" fails like this:
gentoo-dev ~ # emerge --verbose --pretend crossdev
!!! /usr/i686-pc-linux-uclibc/etc/make.profile is not a symlink and will probably prevent most merges.
!!! It should point into a profile within /usr/portage/profiles/
!!! (You can safely ignore this message when syncing. It's harmless.)
!!! If you have just changed your profile configuration, you should revert
!!! back to the previous configuration. Due to your current profile being
!!! invalid, allowed actions are limited to --help, --info, --sync, and
!!! --version.
Have I done something wrong with the environment settings? Since It's not really clear to me if I have to have them all.
Regards
Daniel
--
Never Think Hard About Past,It brings"Tears" Don't think more about future, It brings"Fears" Live this moment with a Smile, It brings"Cheers".
|