Deutsch English Français Italiano |
<v30l15$3mcj6$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.lang.c Subject: Re: C23 thoughts and opinions Date: Mon, 27 May 2024 00:44:21 -0000 (UTC) Organization: A noiseless patient Spider Lines: 19 Message-ID: <v30l15$3mcj6$1@dont-email.me> References: <v2l828$18v7f$1@dont-email.me> <00297443-2fee-48d4-81a0-9ff6ae6481e4@gmail.com> <v2lji1$1bbcp$1@dont-email.me> <87msoh5uh6.fsf@nosuchdomain.example.com> <f08d2c9f-5c2e-495d-b0bd-3f71bd301432@gmail.com> <v2nbp4$1o9h6$1@dont-email.me> <v2ng4n$1p3o2$1@dont-email.me> <87y18047jk.fsf@nosuchdomain.example.com> <87msoe1xxo.fsf@nosuchdomain.example.com> <v2sh19$2rle2$2@dont-email.me> <87ikz11osy.fsf@nosuchdomain.example.com> <v2v59g$3cr0f$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 27 May 2024 02:44:22 +0200 (CEST) Injection-Info: dont-email.me; posting-host="1c25528c6c7e7a3bd6cadc9483b25fb8"; logging-data="3879526"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+7Wg/+4SWA64lHCyUpQBhz" User-Agent: Pan/0.158 (Avdiivka; ) Cancel-Lock: sha1:Xmy5+U4Hct1u2vQsYv+FcLBv/b0= Bytes: 2215 On Sun, 26 May 2024 13:09:36 +0200, David Brown wrote: > People have always managed to embed > 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). Don’t call them “tricks”. Call them “linker scripts” and “build procedures”. They can do some quite complex things. > #embed has two purposes. One is to save you from using external tools > for that kind of thing. But it can only be a partial solution to that. It cannot replace the procedures needed to construct the binary data format. It only solves the easy part: including that binary data in the build. And only in a certain way. That’s why I think it’s a waste of time.