Maybe it is better to try a smaller C compiler.
Like TinyCC: https://bellard.org/tcc / https://repo.or.cz/w/tinycc.git
Currently it is only for x86/x64 and ARM (with RISC-V is in development).
The tcc is small (about 100KB) so it could work even on some microcontrollers.
Even if you get GCC wor
Do you find any clear obstacle I'd find? I ask from the perspective of
people that knows NuttX (not my case). Or are that obstacles completely
unknown? What related obstacles where found when trying to compiling
another tool, compatible with many Unix-like targets like the ones GCC can
run on?
El
Why not try it and see what obstacles you encounter?
Maybe just the C pre-processor? Or the linker or assembler from binutils?
Perhaps you could try a partial build using the NuttX header files
only. If you could a relocatable object with just the NuttX header
files, then you could link
Assuming that you have the resources and you can perform the build for a
NuttX target, then there should be no problem. The cross build of the
toolchain for the NuttX target is the hard part.
Most of the dependencies I list are GCC build dependencies, not run-time
dependencies. So depending
On Sat, 8 Apr 2023 at 14:46, Victor Suarez Rovere
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 co
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 s
On 4/7/2023 9:02 PM, Victor Suarez Rovere wrote:
Hi everyone!
Considering that NuttX is POSIX compliant, can gcc or clang be run on NuttX?
I was waiting to see if someone who has actually tried this would
respond. I haven't tried to build a GCC toolchain on NuttX and can't
say that it is im
Hi everyone!
Considering that NuttX is POSIX compliant, can gcc or clang be run on NuttX?