Hi!
The problem is that when I call cilly on the kernel an obsolete switch (-m 
elf_i386) is invoked. gcc doesn't support that switch anymore 
(http://wiki.kaeilos.com/index.php/2.6.x_Kernel_Compilation_Problems). The 
correct switch is -m32. During normal kernel compilation (with cilly) this 
switch is not invoked. How can I use cilly on the kernel using my current gcc 
(which doesn't support -m elf_i386)?
Thanks!
--------------------------------------------
On Tue, 9/2/14, Gabriel Kerneis <gabr...@kerneis.info> wrote:

 Subject: Re: [CIL users] Out of memory error when compiling linux 2.6 using CIL
 To: "Ahmad Nouralizadeh" <ahmadnouraliza...@yahoo.com>
 Cc: cil-users@lists.sourceforge.net
 Date: Tuesday, September 2, 2014, 9:07 PM
 
 On Tue, Sep 02, 2014 at
 11:05:19PM +0200, Gabriel Kerneis wrote:
 > On Tue, Sep 02, 2014 at 02:19:12AM -0700,
 Ahmad Nouralizadeh wrote:
 > > And
 after that memory usage started to increase until I ran out
 of memory!
 > 
 > Only a
 guess: try adding the switch --useLogicalOperators, it
 avoids
 > expansion of switch range
 statements.
 
 Sorry, the
 correct flag is --useCaseRange (but --useLogicalOperators
 is
 useful too on large pieces of code).
 
 -- 
 Gabriel
 

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to