Linux compiling in kernel
Wed Apr 8 16:35:46 GMT 2020
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:
> CC scripts/mod/empty.o
> cc1: error: code model kernel does not support PIC mode
> make: *** [scripts/Makefile.build:268: 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.
More information about the Cygwin