[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-bash] cross compile bash failure
From: |
root |
Subject: |
[Help-bash] cross compile bash failure |
Date: |
Mon, 15 Dec 2014 14:12:19 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 |
Hi,guy:
when I crosscompile the bash 4.3.30,and use the fllowing configre:
./configure --host=arm-linux-gnueabihf CC=arm-linux-gnueabihf-gcc
--prefix='/root/Desktop/SSS/other/Bash/bash_install'
--enable-static-link --without-bash-malloc
make ,and error happended !
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib
-I. -g -DCROSS_COMPILING mkbuiltins.c
gcc -rdynamic -g -DCROSS_COMPILING -o mkbuiltins mkbuiltins.o
./mkbuiltins -externfile builtext.h -structfile builtins.c \
-noproduction -D . ./alias.def ./bind.def ./break.def
./builtin.def ./caller.def ./cd.def ./colon.def ./command.def
./declare.def ./echo.def ./enable.def ./eval.def ./getopts.def
./exec.def ./exit.def ./fc.def ./fg_bg.def ./hash.def ./help.def
./history.def ./jobs.def ./kill.def ./let.def ./read.def ./return.def
./set.def ./setattr.def ./shift.def ./source.def ./suspend.def
./test.def ./times.def ./trap.def ./type.def ./ulimit.def ./umask.def
./wait.def ./reserved.def ./pushd.def ./shopt.def ./printf.def
./complete.def ./mapfile.def
make[1]: *** [builtext.h] Segmentation fault (core dumped)
make[1]: *** Deleting file `builtext.h'
make[1]: Leaving directory
`/root/Desktop/SSS/other/Bash/bash-4.3.30/builtins'
make: *** [builtins/builtext.h] Error 1
how can I do it? TKS
Best Regards
chang.qing
- [Help-bash] cross compile bash failure,
root <=