On 03/02/2015 22:00, WPB wrote:
> On Tue, 03 Feb 2015 16:11:23 -0000, Duncan Moore<duncan.moore@gmx.com>
> wrote:
>
>> On 31/01/2015 16:15, Duncan Moore wrote:
>> The problem is with 'make'.
>> This code is in job.c:
>>
>> #elif defined (__riscos__)
>>
>> char default_shell[] = "";
>> int batch_mode_shell = 0;
>>
>> #else
>>
> Presumably it's UnixLib that handles the "/bin/sh" references getting
> passed to the RISC OS CLI, is it?
It's function execve() where the "/bin/sh" is handled. (I have the
sources for gccsdk 4.1.2 on my system, but have no experience of
developing it).
> If so, knowing the date when that
> happened in UnixLib and comparing to the date that code was added to job.c
> might give us a clue?
>
The gnu 'make' Changelog file gives 2004-03-28 by Peter Naulls for when
the change to default_shell[] was made in the gnu version. Of course,
that change may have existed prior to that in the RISC OS 'make'
version. Can someone tell when the "/bin/sh/" logic was put in execve()?
Duncan
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
No comments:
Post a Comment