KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a Mac OS X command-line tool that would benefit from having some data embedded in the binary file itself. I know mach-o files support multiple segments, some of which can be used for storing arbitrary data. But I can't find a command-line tool to do that. While I know there are other, probably simpler ways (e.g. convert the data file into C source code and have it get linked in by gcc) to get the data into my binary this problem has piqued my interest. Anyone know the magic?
Tags (comma-separated)
Save Edits
Cancel