Indeed, I'd say focus on more up to date and elaborate programming languages.

C, while nice as a "portable assembler" is still full of quirks and tricks.

Which show how unstable and unprofessional it is 50 years after its creation.

Many "extensions" and as you state, "unfortunately" packaged by many vendors.

Good luck.

Regards.


----- Mail d'origine -----
De: gz8...@0w.se
À: tinycc-devel@nongnu.org
Envoyé: Wed, 07 Feb 2024 15:39:33 +0100 (CET)
Objet: Re: [Tinycc-devel] Where do I get pthread.h?

On Tue, Feb 06, 2024 at 08:25:17PM -0800, Videogamer555 wrote:
> I was trying to compile a program that requires pthread.h (which is a
> header file that comes with GCC by default, and I thought that TCC was
> supposed to be GCC compatible) but TCC is missing pthread.h unfortunately.

This header belongs to the C library, not to a compiler.

If your system lacks it, then it is the libc which is incomplete, not tinycc.

(the distinction between which headers are part of what is far from
easy to trace, often obscured by packaging practices, this is unfortunate)

Regards,
/tccm

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


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

Reply via email to