I have now compiled the larger (more applets) Busybox, using shared libs, for both armv7 and x86.
The PETs (401K, 415K):
The x86 compile was in Wary 5.3.92, and the armv7 compile in my Mele A1000, Ubuntu 10.04.
On the Mele, there was a compile error, gcc ran out of registers. This is apparently, a bug in some versions of gcc on the ARM platform.
I fixed it by doing this before running "make":
# export CFLAGS='-O2 -fno-schedule-insns -fomit-frame-pointer'
I think that the key option is "-fno-schedule-insns". I didn't try it, but I read another report that dropping down to "-O1" works, so this might work:
# export CFLAGS='-O1 -fomit-frame-pointer'
Note, if you want the '.config' file, open up the PET, and run "./busybox bbconfig".
Another note, this is the first time that I have enabled wide-character support. It seems like a sensible thing to do, but never enabled it before. Previous PETs do have locale support.
No comments posted yet.