Giles wrote:
> Thanks Bob, but some applications don't use conditional compiling and
> simply use code like this:
> ============
> if (uClinux) {
>       *pid = vfork();
> } else {
>       *pid = fork();
> }
> ============
> 
> Will the cross-compiler go ahead and compile that type of code?
> Currently, it refuses to proceed because fork() is not available on
> non-MMU CPU's.

If you do not want to "force" people to change their code, you will
probably need to offer a "stub" fork() to link against on non-MMU CPUs.

H

_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to