Here is one fairly common requirement that isn't in our emulated development environment.
Note: Since only /home is writable - the dev environment is growing a /home/bin, /home/lib, /home/share, etc. sets of sub-trees.
Build notes:
Spoiler:
(armv6l:1) m4-1.4.16 # export PATH=/home/bin:/bin:/sbin
(armv6l:1) /home # cd work
(armv6l:1) work # mkdir m4
(armv6l:1) work # cd m4
(armv6l:1) m4 # wget
http://ftp.gnu.org/gnu/m4/m4-1.4.16.tar.gz
Connecting to ftp.gnu.org (208.118.235.20:80)
(armv6l:1) m4 # tar -xf m4-1.4.16.tar.gz
(armv6l:1) m4 # cd m4-1.4.16
(armv6l:1) m4-1.4.16 # ./configure --prefix=/home
(armv6l:1) m4-1.4.16 # make
(armv6l:1) m4-1.4.16 # make install
(armv6l:1) m4-1.4.16 # mkdir /home/m4-1.4.16
(armv6l:1) m4-1.4.16 # DESTDIR=/home/m4-1.4.16 make install
(armv6l:1) m4-1.4.16 # cd /home/m4-1.4.16/home
(armv6l:1) home # tar -czf ../m4-1.4.15-armv6-uclibc.tar.gz .
(armv6l:1) home # cp -a bin/m4 ..
(armv6l:1) home # cd ..
(armv6l:1) home # strip --strip-unneeded m4
(armv6l:1) m4-1.4.16 # gzip m4
Installation:
Put archive in /home
tar -xf m4-1.4.16-armv6-uclibc.tar.gz
You are now done with that archive, toss it if you wish.
OR
Put m4.gz into /home/bin
Then gunzip it.
Once again, the file in the complete archive has not been stripped;
The single gzip'd file has been stripped of symbols.
If anyone has not been keeping track, our "dev environment supplement" count is now five items:
Code:
core2quad hdb $ ls bin
bin2c m4 strace tcc xz