Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22269

Pack two binaries(executables) into one file

$
0
0

I have two binary(executable) files A and B. At runtime, A may call B depending on given parameters. Is it possible to pack the two binaries into one file? So that, when needed, A do not have to look for B from other places. I have c source files for both. Each of them has a main() function, and I do not wish to modify the sources. It is also acceptable if there is a way to generate one executable at compile time.


Viewing all articles
Browse latest Browse all 22269

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>