title: Embedding resources in executable using GCC
body: <p>I'm looking for a way to easily embed any external binary data in a C/C++ application compiled by GCC.</p>
  
  <p>A good example of what I'd like to do is handling shader code - I can just keep it in source files like <code>const char* shader = "source here";</code> but that's extremely impractical.</p>
  
  <p>I'd like the compiler to do it for me: upon compilation (linking stage), read file "foo.bar" and link its content to my program, so that I'd be able to access the contents as binary data from the code.</p>
  
  <p>Could be useful for small applications which I'd like to distribute as a single .exe file.</p>
  
  <p>Does GCC support something like this?</p>