Possible Duplicate:
How to Embed/Link binary data into a C++ DLL
I need a commandline tool which could embed my binary file(s)
into some (C way linkable) .obj file – this binary data should
be under some given symbols to reach to it from c code
Is there such tool? (I am especially interested in windows
platform, coff and omf formats )
If you are using gcc. You can use the linker to do just that using something like:
Take a look here