Re: Cross Compiling dietlibc

Felix von Leitner <[email protected]> Sat, 24 Nov 2012 18:18:54 +0100
Newsgroups gmane.linux.lib.dietlibc
Message-ID <[email protected]>
> I am trying to cross compile dietlibc for a PC104 486 SBC:

> make ARCH=i386 CROSS=i486-elf- all

dietlibc is a libc for Linux.
If will only work and compile if the target platform is Linux.
Otherwise major adjustments will be necessary.

Your compiler does not define the preprocessor symbol __linux__, which
means it targets something other than Linux.

Felix