Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-embedded@g.o
From: Daniel Glaser <daniel.glaser@...>
Subject: Re: crosscompile bash
Date: Sat, 18 Nov 2006 16:30:19 +0100
Hi
> Well, I tried cross-emerging bash-3.2_p5, and for whatever reason, did not suffer
> the "cannot run test program while cross compiling" error that bash-3.1_p17 was
> giving me; however now thing break later on with:
>
> /usr/libexec/gcc/i686-pc-linux-uclibc/ld: cannot find -lcurses
> collect2: ld returned 1 exit status
> make: *** [bash] Error 1
>
> ...however ncurses has been installed, both in the host target and the build host...
>   

You have to merge every library to your cross-compile-root, means in 
your case to merge ncurses first to /usr/cross-... And then to your 
other root without the X-Toolchain.
This is, because the X-Compiler searches there for libraries and not in 
another $ROOT. So, the steps to go are:

ROOT="/usr/cross-SOMEXTOOLCHAIN" [ 
PORTAGE_CONFIGROOT="SOMEOTHERROOTWITHCONF"] emerge LIBPACKAGE
ROOT="YOUROTHERROOT" emerge PACKAGES

I always emerge everything first to the X-Toolchain root with making 
packages and then I emerge the packages without recompiling them to my 
development root.

-daniel
-- 
gentoo-embedded@g.o mailing list


Replies:
Re: crosscompile bash
-- Corey
References:
crosscompile bash
-- Corey
Re: crosscompile bash
-- Corey
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: crosscompile bash
Next by thread:
Re: crosscompile bash
Previous by date:
Re: crosscompile bash
Next by date:
Re: crosscompile bash


Updated Jun 17, 2009

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.