tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] unistd.h in new version


From: Basile Starynkevitch
Subject: Re: [Tinycc-devel] unistd.h in new version
Date: Tue, 19 Mar 2013 19:47:13 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Mar 19, 2013 at 03:43:51PM -0300, Hernán J. González wrote:
> The new version (0.9.26) does not include the include/unistd.h file,
> only include/sys/unistd.h
> I know I can simply copy it (I've already done it) but I wonder if the
> change was intentional,
> I believe <unistd.h> is more standard than <sys/unistd.h>, and this
> could break many compilations.

<unistd.h> should be provided by your C library. It should not be the business 
of the compiler.
And you could use alternative C libraries (eg http://musl-libc.org/ for 
example) and still use 
TinyCC.

On a Debian system you would want to install the libc6-dev package.

Cheers
-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***



reply via email to

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