[BusyBox] about making

larry at doolittle.boa.org larry at doolittle.boa.org
Sat Dec 23 17:27:29 UTC 2000


Bet'cha this is a shell issue.

The gcc command in busybox.sh (given the default config)
spits out  1176 bytes, that are expected to be held in
a shell variable.  If Nazim's shell chops it off at 1024,
he would see this effect.  Nazim, what shell are you using?

try the following:
gcc -E -dM ${1:-Config.h} >tmp1
grep -i cmdedit tmp1
sed -n -e '/^.*BB_FEATURE.*$/d;s/^#define.*\<BB_\(.*\)\>/\1.c/gp;' <tmp1 >tmp2
grep -i cmdedit tmp2
tr '[:upper:]' '[:lower:]' <tmp2 >tmp3
grep -i cmdedit tmp3

The three output lines from the grep's should be
#define BB_CMDEDIT  
CMDEDIT.c  
cmdedit.c  

If this works, it kind of _has_ to be the shell that's messed up.

      - Larry





More information about the busybox mailing list