Cross-compiling Linux kernel

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Mon Jun 17 20:43:00 GMT 2013


On 2013-06-17 08:24, Fedin Pavel wrote:
>   In order to cross-compile Linux kernel i have to patch host-side tools a
> little bit. Current problems are:
>   1. Cygwin misses linux/types.h

I have been trying to get this fixed upstream for quite some time 
without success:

https://lkml.org/lkml/2012/6/11/604
https://lkml.org/lkml/2012/10/15/608
https://lkml.org/lkml/2013/4/28/84

>   2. Cygwin defines the following ELF macros according to host machine:
> ELF_ST_BIND, ELF_ST_TYPE, ELF_R_SYM, ELF_R_TYPE

Those are indeed copied straight from BSD's headers; I'll have to look 
into this further.


Yaakov


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list