Re: UML cross-platform build problems (was Re: [PATCH]

Jeff Dike (jdike@karaya.com)
Tue, 22 May 2001 15:13:52 -0500


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/