Linux compiling in kernel

Wed Apr 8 09:48:11 GMT 2020

Hi Team,

I have installed cygwin.
I am trying to compile linux kernel.It is for x86 platform.
But When I give below command:
 CC      scripts/mod/empty.o
cc1: error: code model kernel does not support PIC mode
make[1]: *** [scripts/ scripts/mod/empty.o] Error 1
make: *** [Makefile:1116: prepare0] Error 2

This error iam facing.
Can you please help me.

Your help is highly appreciated.

Thank you,

More information about the Cygwin mailing list