lkml.org 
[lkml]   [2007]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: Userspace compiler support of "long long"
    Date
    On Thursday 28 June 2007 00:30:52 Kyle Moffett wrote:
    > On Jun 27, 2007, at 13:32:40, Adrian Bunk wrote:
    > > AFAIR the Intel compiler claims to be gcc.
    > >
    > > But these are by far not the only C compilers under Linux, and the
    > > more important points are:
    > >
    > > Is there any userspace Linux compiler that does not support "long
    > > long"?
    >
    > Don't know, but I'd guess not.

    Tendra C and probably lcc. I would guess tinycc too.

    > The only trick is if you care about building 32-bit compat code using
    > 64-bit linux kernel headers. In that case we should probably just
    > make all archs use "long long" for their 64-bit integers, unless
    > there's some platform I'm not remembering where "long long" is 128-
    > bits or bigger. The other benefit is that people could then just use
    > the printf format "%llu" for 64-bit integers instead of having to
    > conditionalize it all over the place.
    >
    > I'm working on a patch now.

    Changing this will give you a zillion warnings for printk formats.

    -Andi

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-06-28 02:33    [W:0.029 / U:31.452 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site