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]: *** [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.

https://sourceware.org/legacy-ml/cygwin/2012-06/msg00221.html

--
Yaakov


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


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: *** [Makefile:1116: prepare0] Error 2

This error iam facing.
Can you please help me.

Your help is highly appreciated.

Thank you,
Vishnu
--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple