Liste des Groupes | Revenir à cl c |
On 08/01/2025 15:42, Julio Di Egidio wrote:<snip>On 08/01/2025 09:46, David Brown wrote:On 07/01/2025 20:32, Julio Di Egidio wrote:<snipped>>In particular, I am using C90, and compiling with
`gcc ... -ansi -pedantic -Wall -Wextra` (as I have
the requirement to ideally support any device).People who say they want their code to run on anything are invariably wildly exaggerating.>
:) I do have embedded, and FPGAs, and even transpiling to e.g. Wasm, etc. in mind, my overall idea for now simply being: as long as the device comes with a C compiler that is not too broken.
Do you have experience with embedded programming (if so, what kind of devices)?TL;DR nearly zero. Siemens PLCs for small industrial automation, my own experimenting with Intel FPGAs (mainly for coprocessors), plus coding against device drivers for systems integration.
Cool. :) Please give me few hours, maybe less: I will be reading your reply with great interest.So, now that I have qualified it with "any device coming with a C compiler (that is not too broken)", would you think coding it in "ANSI C" makes some sense?No.
Les messages affichés proviennent d'usenet.