public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] Libraries and Cross-compiling with portage
@ 2006-09-25  7:10 Daniel Glaser
  0 siblings, 0 replies; only message in thread
From: Daniel Glaser @ 2006-09-25  7:10 UTC (permalink / raw
  To: gentoo-embedded

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Hello,

after building a root directory (with ppc-stage3 and portage-latest)
and crating a cross-toolchain, I want to know how to teach emerge to
take the libraries out of the target root when emerging like the following

e.g.
ROOT=/var/ppc-embedded PORTAGE_CONFIGROOT=/var/ppc-embedded emerge bash

This crashes while searching for libcurses, because it finds my i686
one I think

This is the outout of the emerge try:

powerpc-somewhat-linux-gnu-gcc -L./builtins -L./lib/readline
- -L./lib/readline -L./lib/glob -L./lib/tilde  -L./lib/sh  -rdynamic
- -O2 -mcpu=405 -mtune=405 -pipe -o bash shell.o eval.o y.tab.o
general.o make_cmd.o print_cmd.o  dispose_cmd.o execute_cmd.o
variables.o copy_cmd.o error.o expr.o flags.o nojobs.o subst.o
hashcmd.o hashlib.o mailcheck.o trap.o input.o unwind_prot.o pathexp.o
sig.o test.o version.o alias.o array.o arrayfunc.o braces.o
bracecomp.o bashhist.o bashline.o  list.o stringlib.o locale.o
findcmd.o redir.o pcomplete.o pcomplib.o syntax.o xmalloc.o -lbuiltins
- -lsh -lreadline -lhistory -lcurses -lglob -ltilde    -ldl
/usr/libexec/gcc/powerpc-cinewave-linux-gnu/ld: cannot find -lcurses
collect2: ld returned 1 exit status

All libraries are installed correctly in the root, but when emerging
some package that depends on this libs, I'm encountiering problems
that the lib is taken from /usr/lib...
Now, how to solve it? Emerge takes e.g. the settings correctly out of
/var/ppc-embedded/etc/make.conf what about the libs?

best regards
themole
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFFF4DbLA0LfkMzpGMRAksCAJkBjPmFlK3i3QyBNeo9Z6XR7BfAyQCfdXA7
CXFMc94AKnhIJgvNOyU6KNI=
=eBVn
-----END PGP SIGNATURE-----

-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-25  7:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-25  7:10 [gentoo-embedded] Libraries and Cross-compiling with portage Daniel Glaser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox