4 ms·
>You can target an embedded ARM board or a RISC-V chip with one flag: gcc main.c --target=arm-linux-gnueabihf -o app AI hallucination? --target does not exi
by 201984 11mo ago
>You can target an embedded ARM board or a RISC-V chip with one flag:
gcc main.c --target=arm-linux-gnueabihf -o app
AI hallucination? --target does not exist in GCC. Clang has -target, but you still need to install libc for the target architecture.
- cesarb 11mo ago> AI hallucination? --target does not exist in GCC. It might also be someone used to a system which symlinks "gcc" to clang for compatibility (IIRC, that's the case at least on OS X).
- 201984 11mo agoIt's still just a single hyphen on clang, double hyphen like in the post does not work on clang either.
- abnercoimbre 11mo agoUnfortunate to say the article does smell like LLMs had a heavy hand in it.
- e2le 11mo agoThey fixed this "mistake" a few minutes ago. https://github.com/little-book-of/c/commit/43b0a89852a507bddfd74bbf9a356fee472cb922 https://github.com/little-book-of/c/commit/43b0a89852a507bdd...
- 201984 11mo agoAnd that "fix" is not "one flag" any more either since you have to install that compiler somehow.
- e2le 11mo agoI wonder if they are simply pasting your criticism into an AI prompt. https://github.com/little-book-of/c/commit/349d475a5922cf00512721dc2d205ae828410f02 https://github.com/little-book-of/c/commit/349d475a5922cf005...
- 201984 11mo agoLmao, probably. I'm not going to trust anything else this person has written, since this has proven to me he's writing about things he has little experience with.
- ramon156 11mo agohttps://github.com/little-book-of/c/commit/aa7496f9ba58ac11a562b4eb1933a44fd6f5520b https://github.com/little-book-of/c/commit/aa7496f9ba58ac11a... just got updated with some clarity > *Some parts of this article were refined with help from LLMs to improve clarity and technical accuracy. These are just personal notes, but I would really appreciate feedback: feel free to share your thoughts, open an issue, or send a pull request!*
- 201984 11mo agoSeems the technical accuracy wasn't improved very much, if at all.