Hi Brian.

tcc can't find the files, because you build your tcc with broken search path.

On unix, multiple search directories use the colon ":" as separator
(try: echo $PATH)
and tcc uses the same style.

When you configured multiple directories for tcc,
they are printed on separate lines with "tcc -vv".

Additional, the tcc install dir is missing in your output,
but from the path to libtcc1.a,
I expect, that you configured tcc to install in /usr/lib.

I suggest to use a tcc subdir instead, so all tcc internal libs and includes
do not pollute your /usr/lib.

Examples when you install tcc in /usr/lib/tcc:
/usr/lib/tcc/include/stdarg.h
/usr/lib/tcc/include/stddef.h
/usr/lib/tcc/libtcc1.a
/usr/lib/tcc/bcheck.o

Extra examples, when cross-compiling to windows:
/usr/lib/tcc/win32/include/stdarg.h
/usr/lib/tcc/win32/lib/kernel32.def
/usr/lib/tcc/win32/lib/x86_64-win32-libtcc1.a


--
Regards ... Detlef

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to