Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Compel
(edit)
Revision as of 18:33, 22 September 2016
72 bytes added
,
18:33, 22 September 2016
→Compiling and packing
:
rephrasing
Line 17:
Line 17:
== Compiling and packing ==
== Compiling and packing ==
−
Take
the
program and compile it
with compel flags:
+
Compile
the
source of your parasite code
with compel flags:
<pre>
<pre>
Line 23:
Line 23:
</pre>
</pre>
−
To combine
the
foo.o out
of
many sources
, they
should
all be linked with
compel
linker flags:
+
If
the
code consists
of
more than one source file
, they all
need to
be
compiled,
+
then
linked
together
with
the proper
linker flags
for compel
:
<pre>
<pre>
Line 29:
Line 30:
</pre>
</pre>
−
Pack
the binary. Packing
would link
the object file with [[compel plugins]].
+
Finally, pack
the binary. Packing
links
the object file with [[compel plugins]].
<pre>
<pre>
−
$ compel pack foo.o -o foo.compel.o [-l plugin]
+
$ compel pack foo.o -o foo.compel.o [-l
''
plugin
'' [...]
]
</pre>
</pre>
Kir
Bureaucrats
,
Administrators
1,067
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Request account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help
Tools
Special pages
Printable version
News
Twitter
YouTube
External resources
Github / source code
Issues / bugs
Mr. Jenkins
Open Hub
OpenVZ