lkml.org 
[lkml]   [2007]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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."
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2007-06-28 18:03    [W:0.085 / U:41.696 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site