Re: [CIL users] Compile a single file in kernel source

2014-08-24 Thread Ahmad Nouralizadeh
Many Thanks for you immediate reply! On Sun, 8/24/14, Gabriel Kerneis wrote: Subject: Re: [CIL users] Compile a single file in kernel source To: cil-users@lists.sourceforge.net Date: Sunday, August 24, 2014, 12:50 PM Le 2014-08-24 14:35, Ahmad

Re: [CIL users] Compile a single file in kernel source

2014-08-24 Thread Gabriel Kerneis
Le 2014-08-24 14:35, Ahmad Nouralizadeh a écrit : > asm goto("1: jmp %l[t_no]\n" > > So how is it possible to use cil on kernel source? It's on my TODO list: https://github.com/kerneis/cil/issues/12 At the moment, though, there is no way to work-around this. Best, -- Gabriel -

Re: [CIL users] Compile a single file in kernel source

2014-08-24 Thread Ahmad Nouralizadeh
".previous\n" /* skipping size check since replacement size = 0 */ : : "i" (bit) : : t_no); return true; t_no: return false; So how is it possible to use cil on kernel source? ---------------

Re: [CIL users] Compile a single file in kernel source

2014-08-24 Thread Gabriel Kerneis
Le 2014-08-24 14:19, Ahmad Nouralizadeh a écrit : > I receive the following error: > > /usr/src/linux-headers-3.2.0-23-generic-pae/arch/x86/include/asm/cpufeature.h[341:0-0] > : syntax error This is likely a gcc syntax extension that CIL does not support. Could you copy/paste the content of cpuf

[CIL users] Compile a single file in kernel source

2014-08-24 Thread Ahmad Nouralizadeh
Hi! I can compile a source file that uses some of the files included in the kernel using the following command: make -C /lib/modules/3.2.0-23-generic-pae/build SUBDIRS=$PWD modules But when I try to compile it using CIL: make CC="/home/ahmad/cilabp-master/CIL/bin/cilly" -C /lib/modules/3.2.0-23-

[CIL users] Compile a single file in kernel source

2014-08-24 Thread Ahmad Nouralizadeh
Hi! I can compile a source file that uses some of the files included in the kernel using the following command: make -C /lib/modules/3.2.0-23-generic-pae/build SUBDIRS=$PWD modules But when I try to compile it using CIL: make CC="/home/ahmad/cilabp-master/CIL/bin/cilly" -C /lib/modules/3.2.0-23-