Alias-ing problem
Sergio
sergio.biasi at elsagdatamat.com
Thu Mar 12 15:30:41 UTC 2009
Hi list,
I'm using two different (version) cross-compilers for a PPC board. One of
them compiles a BB with a problem in the alias builtin command.
The BB sources and configuration are absolutely the same on both PC.
These are two outputs, the first from the working one:
*** working ***
PMFU_1:~/bb # alias
la='ls -la'
PMFU_1:~/bb #
PMFU_1:~/bb # la
drwxr-xr-x 2 root root 0 Jan 1 01:42 .
drwxr-xr-x 3 root root 0 Jan 1 01:42 ..
-rwxr-xr-x 1 root root 309912 Jan 1 01:27 busybox-ko
-rwxr-xr-x 1 root root 313084 Jan 1 01:34 busybox-ok
PMFU_1:~/bb #
PMFU_1:~/bb # la /bin/busybox
-rwxr-xr-x 1 root root 313084 Jan 1 01:57 /bin/busybox
PMFU_1:~/bb #
**** not working ****
PMFU_1:~/bb # alias
la='ls -la'
PMFU_1:~/bb #
PMFU_1:~/bb # la
ls: invalid option -- .
BusyBox v1.13.3 (2009-03-12 14:43:18 CET) multi-call binary
Usage: ls [-1AacCdeilnRrSsTtuvwxXk] [filenames...]
PMFU_1:~/bb # ls -la
drwxr-xr-x 2 root root 0 Jan 1 01:42 .
drwxr-xr-x 3 root root 0 Jan 1 01:42 ..
-rwxr-xr-x 1 root root 309912 Jan 1 01:27 busybox-ko
-rwxr-xr-x 1 root root 313084 Jan 1 01:34 busybox-ok
PMFU_1:~/bb #
PMFU_1:~/bb # ls -la /bin/busybox
-rwxr-xr-x 1 root root 309912 Jan 1 02:09 /bin/busybox
PMFU_1:~/bb #
The good compiler is 3.3.6, the bad is 3.4.3. They produce different
executables as you can see in the output reported above.
Busybox version is 1.13.3, attached the config.
Thanks
Sergio
--
Free software is a matter of liberty, not price. To understand the concept,
you should think of free as in free speech, not as in free beer
- Richard Stallman
http://www.gnu.org/philosophy/free-sw.html
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config_alias
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090312/7d1d7f71/attachment.diff>
More information about the busybox
mailing list