Hi!

I try to cross compile a stage 1. I got the following information from a
thread last november:

USE="build" xmerge -p1v baselayout binutils gcc \
uclibc/glibc bzip2 tar gzip make ncurses coreutils gawk grep \
binutils-config gcc-config portage bash

This should be the packages i need.

I started with this and i have problems cross compiling bash. I tried
stable 3.2, stable 3.1 and stable 3.0.

What i get:

/usr/libexec/gcc/i486-unknown-linux-uclibc/ld: cannot find -lcurses
collect2: ld returned 1 exit status

I heared this can be solved by emerging ncurses into the
buildroot, /usr/$CTARGET. But doing this just using ROOT=... emerge
leads to a libncurses linked against glibc shich again prevents me from
building my cross bash. Setting CHOST leads to an error.

Do i have to set some other variables? or do i have to create a basic
configuration for /usr/$CTARGET and ust PORTAGE_CONFIGROOT?

Are i486-unknown-linux-uclibc binaries runable on i686-pc-linux-gnu and
are powerpc-unknown-linux-uclibc binaries runnable on
powerpc64-unknown-linux-gnu?

Philipp

-- 
[EMAIL PROTECTED] mailing list

Reply via email to