On Sat, 8 Apr 2023 at 14:46, Victor Suarez Rovere <suarezvic...@gmail.com> wrote: > > So isn't GCC POSIX compliant? I mean a static build of gcc executable and > nothing more (no make, awk or anything) > The only thing that GCC does is read and write files > The C library shouldn't be part of the equation since GCC can compile many > C libraries > Another compiler (besides clang) won't work since I expect C++ >
GCC is implemented in c++ too. > So what's the actual difficulty in running a program that just reads and > writes files? > POSIX compliance does not mean that NuttX can run binaries from other POSIX systems like Linux. You have to start with the source code and build gcc for NuttX. That is the difficult part.