Hi list,
I am working to port musl to TinyCC.Because musl is an
implementation of libc,-nostdlib option is used to stop TinyCC from
linking the standard libc to the executable files.
But -nostdlib option also prevents TinyCC from linking libtcc1.a,which
contains serveral runtime functions (e.g. __va_arg).As for GCC,its
manual points out that using -lgcc option may be needed to work with
-nostdlib option.But it seems that there is no way to make TinyCC add
libtcc1.a to the executable file.Simply adding "-ltcc1" does not work
because libtcc1.a is not in the usual library searching path.
Will there be a solution for this?
Ziyao
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel