Changes

177 bytes removed ,  00:48, 2 February 2017
→‎Compiling and packing: use modern compel, cut the crap
Line 26: Line 26:  
</pre>
 
</pre>
   −
Don't forget to put <code>compel/include/uapi/</code> directory into include paths.
+
Then link the parasite binary. Include all the .o files needed.  
 
  −
Then link the parasite binary. Include all the .o files needed and compel std plugin by using compel linker script.
      
<pre>
 
<pre>
$ ld foo1.o foo2.o compel/plugins/std.built-in.o -T compel/arch/$ARCH/scripts/compel-pack.lds.S -o parasite.po  
+
$ ld $(compel ldflags) foo1.o foo2.o $(compel plugins) -o parasite.po  
 
</pre>
 
</pre>