@ekaitz_zarraga Btw, I managed to cross compile cat.c from Linux to #Jehanne with TinyCC and run it on Jehanne.
This means that, to some extent, static linking works.
```
tcc cat.c -m64 -nostdinc -nostdlib -g -I$JEHANNE/sys/include -I$JEHANNE/arch/amd64/include -L$JEHANNE/arch/amd64/lib $JEHANNE/arch/amd64/lib/crt* -ljehanne -static -Wl,-section-alignment=1000
```
I had to modify tccelf.c to use _main instead of _start as the elf starting point.
Tricky.
And a very little step forward (cat.c is very simple)
But a little hope.