The program being compiled: # cat main.c #include <stdio.h>
void main(void) { printf("hello from lin0\n"); } I'm using musl-1.2.5 compiled on Arch Linux with GCC on x86_64 with static libs disabled. I compiled tcc with: ./configure --prefix=/ --cc="$CC" --config-musl --elfinterp=/lib/libc.so --sysincludepaths=/include --libpaths=/lib --crtprefix=/lib --disable-static CC points to musl-gcc built alongside musl. After this I copied everything to the corresponding folders in a separate partition and booted from it. In that system I compiled main.c with the built tcc. _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel