[lfs-dev] Host System Requirements

Pierre Labastie pierre.labastie at neuf.fr
Wed Dec 19 09:51:23 PST 2012


Le 18/12/2012 22:12, Bruce Dubbs a écrit :
> Pierre Labastie wrote:
>> Le 17/12/2012 17:13, Bruce Dubbs a écrit :
>>> [...]
>>> By far, the biggest problem is having the wrong symlink for /bin/sh.  I
>>> recently highlighted the symlink issue in Section 5.3 of SVN. [...]
>> I have made a great number of builds with /bin/sh being a link to dash
>> without any flaw. The two others mandatory links (yacc and awk) *are*
>> necessary.
> I was pretty sure that the glibc build used bashisms but specified
> /bin/sh.  That may have changed since I last ran into the problem.
>
>     -- Bruce
I just unpacked glibc-2.16 to check:
- Almost all the scripts have #! /bin/sh (some have /bin/bash)
- `remove bashism' is mentionned at some place in a changelog of 2001. 
That seems to mean that developpers are careful about avoiding bashisms. 
Not that they always succeed of course..

Well, at least there are no errors building glibc with sh pointing to 
dash. I'll try to see if there is any difference in the logs when using 
bash and when using dash.

Pierre




More information about the lfs-dev mailing list