I\'m looking for a way to easily embed any external binary data in a C/C++ application compiled by GCC.
A good example of what I\'d like to do is handling shader cod
As well as the suggestions already mentioned, under linux you can use the hex dump tool xxd, which has a feature to generate a C header file:
xxd -i mybinary > myheader.h