On Wed, 2008-01-09 at 19:25 -0800, Phani Babu Giddi wrote:
> Hi Matthijs,
> 
> Can you tell me how does your /etc/make.conf look like. The Gentoo
> embedded documentation says that CHOST is that of the host which in my
> case is i686-pc-linux-gnu and that for CTARGET its
> i586-gentoo-linux-uclibc. 
> 
> But when I go through the Gentoo x86 documentation it refers CHOST as
> that of the target.
> 
> My host is i686 and the target processor is Geode LX 800 which is i586
> with mmx.


Don't worry about any of that. If your host arch is x86 and you are
building for another x86 then it's really easy..


Just get the i386 uclibc stage. edit make.conf and set it to i586. 
run bootstrap.sh 

then enable FEATURES='buildpkg' in make.conf and just build naively
any/everything you want/need. No need to trouble yourself with cross
compilers. It will just cause you unnecessary headaches.


> 
> Regards,
> Phani
> 
> On Jan 8, 2008 12:53 AM, Matthijs Kooijman <[EMAIL PROTECTED]> wrote:
>         > mkdir /opt/gentoo
>         > cd /opt/gentoo
>         > wget -O - -q $SOME_STAGEBALL | tar -jxvf -
>         > cp /etc/resolv.conf etc/
>         > chroot . /bin/bash --login
>         > emerge --sync
>         > $EDITOR /etc/make.conf 
>         > emerge crossdev
>         > crossdev -t XXXXXXXXXXX -options XXXX --more_options XXXX
>         
>         I'm using exactly this, but on Debian instead of Fedora. Works
>         perfectly. Even
>         manages to run a 32 bit chroot on a 64 bit system :-) 
>         
>         Gr.
>         
>         Matthijs
>         
>         -----BEGIN PGP SIGNATURE-----
>         Version: GnuPG v1.4.6 (GNU/Linux)
>         
>         iD8DBQFHgzoVz0nQ5oovr7wRAo4hAKDjjsJtpolVLfDi1yW8w6AI1i0IpQCfZXWp
>         8fNxataku6oMfh0sPUY4HTQ= 
>         =PN6V
>         -----END PGP SIGNATURE-----
>         
> 
-- 
Ned Ludd <[EMAIL PROTECTED]>
Gentoo Linux

-- 
[email protected] mailing list

Reply via email to