Liste des Groupes | Revenir à cl c |
On 12/06/2024 07:40, Bonita Montero wrote:
What was never discussed is why xxd (and the faster alternates that some posted to do that task more quickly), produces lists of numbers anyway.I converted my code into sth. that produces a C-string as an output.How big files are you talking about? In an earlier thread (which I thought had beaten this topic to death), "xxd -i" include files were fine to at least a few tens of megabytes with gcc.
Printing that is still very fast, i.e. the files produced are written
with about 2.6GiB/s. But the problem is still that all compilers don't
parse large files but quit with an out of memory error. So having a
.obj output along with a small header file would be the best.
>
And it would be, IMHO, absurd to have much bigger files than that embedded with your executable in this manner.BM complained that some files expressed as xxd-like output were causing problems with compilers.
Les messages affichés proviennent d'usenet.