Michael Schnell wrote:
> >Without an MMU, userland constructs such as fork()s and certain kinds of
> >mmap() won't work. So unless bash has been patched to use alternate
> >constructs in the absence of an MMU, it won't work either.
> >  
> Right you are.
> 
> But as with uCLinux, the Kernel does not provide fork(), and so a 
> uCLinux compatible libC will not provide the appropriate header. Thus 
> IMHO a program (like bash, as you seem to assume) that calls that 
> function can't be compiled.

Actually, calls to fork() can be compiled, but it is a stub which
returns ENOSYS.  This is occasionally annoying.  A compile/link-time
warning, at least, would have been nice.

-- Jamie
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to