Include binary file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: gcc-help@xxxxxxxxxxx
- Subject: Include binary file?
- From: Mark Ainsworth <mkea@xxxxxxxxxxx>
- Date: Thu, 20 May 2010 09:44:02 -0700
- User-agent: Thunderbird 2.0.0.24 (Windows/20100228)
Hello, at link time I would like to include the contents of a binary
file into the output executable, in a separate segment. In my code I
would then read this as an array. I've done this before with other
compilers / linkers, but not with gcc. Can you show me the directives
to do this?
Thanks,
Mark Ainsworth
[Index of Archives]
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]