Hi Brian

> > On unix, multiple search directories use the colon ":" as separator
> That was my mistake, heheh for some reason I thought I had to use
> commas. Thanks a lot, it worked!

Great.

> Speaking of tcc's internals, what is actually needed in order to run
> it?
> I compiled it statically so my belief is that it doesn't need
> any other library or include, apart from crts.

Some standard c includes or posix includes are provided
by the c/posix runtime library (musl in your case).
tcc provides "tcclib.h", which is a stripped down version
for some of the most common used features.

Other standard c includes are provided by the compiler.
These are also installed in "tcc/include"


> I see a lot of other things installed alongside, such as libtcc.a

Compilers need many features,
which are not available with a few commands in a processors.
tcc provides these features as functions in "tcc/libtcc.a",
which is linked to the target Program, when needed.

In addition, tcc provides some additional features
(bounds checker and backtrace as examples),
which are compiled once and made available as
an object file or as a library and linked to the target Program,
when needed.

--
Best regards ... Detlef


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

Reply via email to