Re: compile kernel error under Cygwin

2009-08-13 Thread Dave Korn
Larry Hall (Cygwin) wrote: > On 08/12/2009 10:33 PM, loody wrote: >> Dear all: >> I patch my kernel with the code below. >> >> #ifdef __CYGWIN__ >> #include >> #else >> #include >> #endif >> >> and I cross compile it with mips toolchain. >> But I get the error message below: >> gcc -Wp,-MD,script

Re: compile kernel error under Cygwin

2009-08-13 Thread Larry Hall (Cygwin)
On 08/12/2009 10:33 PM, loody wrote: Dear all: I patch my kernel with the code below. #ifdef __CYGWIN__ #include #else #include #endif and I cross compile it with mips toolchain. But I get the error message below: gcc -Wp,-MD,scripts/mod/.mk_elfconfig.d -Wall -Wstrict-prototypes -O2 -fomit-fr

compile kernel error under Cygwin

2009-08-12 Thread loody
Dear all: I patch my kernel with the code below. #ifdef __CYGWIN__ #include #else #include #endif and I cross compile it with mips toolchain. But I get the error message below: gcc -Wp,-MD,scripts/mod/.mk_elfconfig.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mod/mk_elf