[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070628153116.GC3650@sirena.org.uk>
Date: Thu, 28 Jun 2007 16:31:16 +0100
From: Mark Brown <broonie@...ena.org.uk>
To: Kyle Moffett <mrmacman_g4@....com>
Cc: Harald Arnesen <harald@...gtun.org>, Adrian Bunk <bunk@...sta.de>,
LKML Kernel <linux-kernel@...r.kernel.org>,
David Woodhouse <dwmw2@...radead.org>, david@...g.hm
Subject: Re: Userspace compiler support of "long long"
On Thu, Jun 28, 2007 at 08:11:59AM -0400, Kyle Moffett wrote:
> I can't even find the docs for their "tcc". Their "tchk" appears to
tchk is the same thing pretty much with output disabled. There's a HTML
copy of the man page here:
http://www.penguin-soft.com/penguin/man/1/tendracc.html
It's packaged for Debian and therefore Ubuntu and other derived
distributions.
> have a "#pragma longlong type allow" or something, so I'd imagine the
> same exists for tcc and would be required to build stuff using kernel
> headers.
You just need to specify -Ysystem (or some other API selection option)
when building to get it to accept long long. Since TenDRA focuses on
strict standards conformance it defaults to something roughly equivalent
to GCC with -std=c89 -pedantic -Werror and requires the user to
explicitly enable support for any other APIs and features they want to
use.
> On the other hand, their compiler looks so immature that it
> does not appear to be worth spending much time worrying about now.
> When somebody shows up with a solution for that compiler then we can
> look at it at that time.
The compiler is solid enough but old - it predates C99 and has had no
real development since then beyond updating the system include overrides
to work with newer glibc versions.
--
"You grabbed my hand and we fell into it, like a daydream - or a fever."
Download attachment "signature.asc" of type "application/pgp-signature" (308 bytes)
Powered by blists - more mailing lists