Re: Linux compiling in kernel

2020-04-08 Thread Yaakov Selkowitz
On Wed, 2020-04-08 at 15:18 +0530, vishnu via Cygwin wrote: > I have installed cygwin. > I am trying to compile linux kernel.It is for x86 platform. > But When I give below command: > #make > CC scripts/mod/empty.o > cc1: error: code model kernel does not support PIC mode > make[1]: ***

Linux compiling in kernel

2020-04-08 Thread vishnu via Cygwin
Hi Team, I have installed cygwin. I am trying to compile linux kernel.It is for x86 platform. But When I give below command: #make CC scripts/mod/empty.o cc1: error: code model kernel does not support PIC mode make[1]: *** [scripts/Makefile.build:268: scripts/mod/empty.o] Error 1 make: ***