Hi,

Ok, thanks for this tips to force the bash build configure script. But the first problem is due to libraries path (have a look on wrapper_log in previous mail).

If I set LDFLAGS for some specific dirs with -L I'm breaking something in cross-emerge and it can find the libc.

I need to do this because some external libraries are required (and these libraries are inside the root_filesystem like libcurses.* for bash).

So my main problem is to give more path to the cross linker.

Here the result with the emerge command:


RESULT:


arm-gentoo_arm11-linux-gnueabi-gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde  -L./lib/sh  -rdynamic  -fomit-frame-pointer -pipe -Os -mlittle-endian -mtune=arm1136jf-s -march=armv6 -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/lib/gcc/arm-gentoo_mx11-linux-gnueabi/4.1.1/../../../../arm-gentoo_mx11-linux-gnueabi/bin/ld: cannot find -lcurses
collect2: ld returned 1 exit status
make: *** [bash] Error 1


COMMAND:
ACCEPT_KEYWORDS="arm ~arm" ARCH="arm" ROOT="/opt/gentoo/devel_root" CHOST="arm-gentoo_arm11-linux-gnueabi" CBUILD="i686-pc-linux-gnu" CFLAGS="-fomit-frame-pointer -pipe -Os -mlittle-endian -mtune=arm1136jf-s -march=armv6" CXXFLAGS="${CFLAGS}"  emerge bash


Thank you for your help.


R1.


Mike Frysinger wrote:
On Friday 14 July 2006 13:30, Erwan Bracq wrote:
  
Now I want to cross compile bash
    

export ac_cv_func_setvbuf_reversed=no and try again
-mike
  



Reply via email to