* [gentoo-embedded] Problems using crossdev
@ 2010-03-31 12:32 Daniel Vergien
2010-03-31 16:28 ` Mirage ha
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Vergien @ 2010-03-31 12:32 UTC (permalink / raw
To: gentoo-embedded
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-embedded] Problems using crossdev
2010-03-31 12:32 [gentoo-embedded] Problems using crossdev Daniel Vergien
@ 2010-03-31 16:28 ` Mirage ha
2010-04-01 6:00 ` Daniel Vergien
0 siblings, 1 reply; 4+ messages in thread
From: Mirage ha @ 2010-03-31 16:28 UTC (permalink / raw
To: gentoo-embedded
[-- Attachment #1: Type: text/plain, Size: 1963 bytes --]
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".
[-- Attachment #2: Type: text/html, Size: 2647 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-embedded] Problems using crossdev
2010-03-31 16:28 ` Mirage ha
@ 2010-04-01 6:00 ` Daniel Vergien
2010-04-06 8:04 ` Mirage ha
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Vergien @ 2010-04-01 6:00 UTC (permalink / raw
To: gentoo-embedded
Hi,
> #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.
thanks for the hint. crossdev-wrappers seems to be part of crossdev. At
least I can't find a crossdev-wrappers ebuild, but emerge-wrapper is
there. Now I get the following error:
# emerge-wrapper --init
# i686-pc-linux-uclibc-emerge findutils
<snip>
* Wrong EM_TYPE. Expected EM_X86
EM_386 ./usr/bin/xargs
EM_386 ./usr/bin/find
EM_386 ./usr/bin/oldfind
I get something like this for every Package I try. I have not changed
one of the config files in /usr/$CHOST/etc
Regards
Daniel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-embedded] Problems using crossdev
2010-04-01 6:00 ` Daniel Vergien
@ 2010-04-06 8:04 ` Mirage ha
0 siblings, 0 replies; 4+ messages in thread
From: Mirage ha @ 2010-04-06 8:04 UTC (permalink / raw
To: gentoo-embedded
[-- Attachment #1: Type: text/plain, Size: 855 bytes --]
On Thu, Apr 1, 2010 at 8:00 AM, Daniel Vergien <
daniel.vergien@rrz.uni-hamburg.de> wrote:
> thanks for the hint. crossdev-wrappers seems to be part of crossdev. At
> least I can't find a crossdev-wrappers ebuild, but emerge-wrapper is there.
> Now I get the following error:
> # emerge-wrapper --init
> # i686-pc-linux-uclibc-emerge findutils
>
> <snip>
>
> * Wrong EM_TYPE. Expected EM_X86
> EM_386 ./usr/bin/xargs
> EM_386 ./usr/bin/find
> EM_386 ./usr/bin/oldfind
>
>
> I get something like this for every Package I try. I have not changed one
> of the config files in /usr/$CHOST/etc
>
>
Hi
Sorry i can't help in this, but please check your variables in in
/usr/${CTARGET}/etc/make.conf.
Regards,
M.
--
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".
[-- Attachment #2: Type: text/html, Size: 1309 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-04-06 8:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-31 12:32 [gentoo-embedded] Problems using crossdev Daniel Vergien
2010-03-31 16:28 ` Mirage ha
2010-04-01 6:00 ` Daniel Vergien
2010-04-06 8:04 ` Mirage ha
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox