Re: UML cross-platform build problems (was Re: [PATCH] include/linux/coda.h)

Jeff Dike
2001-05-22T20:29:17Z

jaharkes@cs.cmu.edu said:
> I agree that a UML kernel on FreeBSD should be a native binary and not
> cross-compiled. However, this could be an UML specific problem and
> -D__linux__ should be added to CFLAGS in arch/uml/Makefile

Exactly. Don't be shy about fiddling CFLAGS in UML-specific Makefiles. This
is already done quite a bit (-D__i386__ and the construction of userspace
CFLAGS are examples).

This is very UML-specific, so there's no reason to bother the rest of the
kernel (unless, of course, you find a bug that could affect other ports).

Jeff