Deutsch English Français Italiano |
<20240531133949.00004407@yahoo.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Michael S <already5chosen@yahoo.com> Newsgroups: comp.lang.c Subject: Re: C23 thoughts and opinions Date: Fri, 31 May 2024 13:39:49 +0300 Organization: A noiseless patient Spider Lines: 34 Message-ID: <20240531133949.00004407@yahoo.com> 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> <v30l15$3mcj6$1@dont-email.me> <v30lls$3mepf$1@dont-email.me> <v30sai$3rilf$1@dont-email.me> <v320am$1km5$1@dont-email.me> <v33ggr$e0ph$1@dont-email.me> <v34bne$i85p$1@dont-email.me> <v3758s$14hfp$1@raubtier-asyl.eternal-september.org> <v38of2$1gsj2$1@dont-email.me> <v39v87$1n7bk$1@dont-email.me> <20240530170836.00005fa0@yahoo.com> <v3a3k5$1ntrn$1@dont-email.me> <v3bu00$24lvl$2@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Fri, 31 May 2024 12:39:56 +0200 (CEST) Injection-Info: dont-email.me; posting-host="319c9bbb49675ac68434cef6b0b3335d"; logging-data="2273624"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18pbDpgeE4O8oPaNzg3P58YB39PjxIux2w=" Cancel-Lock: sha1:ImtKPaPcFz4FV4i+To0J8BXMfnk= X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32) Bytes: 3009 On Fri, 31 May 2024 09:24:48 +0200 David Brown <david.brown@hesbynett.no> wrote: > On 30/05/2024 16:48, bart wrote: > > On 30/05/2024 15:08, Michael S wrote: > > > >> Replace elf32-little with relevant format for your software. > >> However I am not sure that it would work for none-elf output > >> formats. > > > > > > There appears to be an objcopy utility that runs under Windows. > > > > objcopy can handle lots of formats, as source or target, and can run > on any general OS host. So the question is not if you can get > objcopy that runs on Windows, it is whether you can use this kind of > blob-to-object-file conversion with the output in the Windows object > file format in the same was as you can for elf formats. That's quite strange question. You mean, you are able to imagine object file format uncapable to represent initialized data array? > You know > vastly more about the Windows object file formats than I do, so maybe > you can answer this yourself. > objcopy supplied with msys2 appear to have bug in -O selection handling, but fortunately there exists an easy workaround. Read my post below if you are interested.