tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Where do I get pthread.h?


From: gz8cx4
Subject: Re: [Tinycc-devel] Where do I get pthread.h?
Date: Wed, 7 Feb 2024 15:39:33 +0100

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]