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> |
| | | |