Liste des Groupes | Revenir à cl c |
On Sun, 26 May 2024 13:09:36 +0200, David Brown wrote:The binary data already exists, or has been created.
People have always managed to embedDon’t call them “tricks”. Call them “linker scripts” and “build
binary source files into their binary output files - using linker
tricks, or using xxd or other tools (common or specialised) to turn
binary files into initialisers for constant arrays (or structs).
procedures”. They can do some quite complex things.
#embed has two purposes. One is to save you from using external toolsBut it can only be a partial solution to that. It cannot replace the
for that kind of thing.
procedures needed to construct the binary data format.
It only solves theApparently that is not so easy as you seem to think. Or maybe you think that 'embedding a file' just means adding it to a zip file?
easy part: including that binary data in the build.
That’s why I think it’s a waste of time.Embedding applies also to text files not just binaries.
Les messages affichés proviennent d'usenet.