lkml.org 
[lkml]   [1999]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Unable to find definitions of _SIZE_TYPE__ and friends...
On Sat, Jun 19, 1999 at 10:32:15PM -0500, Steven J. Hill wrote:

> First, please cc: me when replying. I have grep'd my way through the
> entire kernel source tree as well as everything in '/usr/include'. Where
> are the definitions for __SIZE_TYPE__ and __SSIZE_TYPE__ ? My last guess
> is that they are hidden in the guts of gcc somewhere. I am working with
> the 'posix_types.h' file in 'asm-mips', but I am not using the MIPS gcc
> compiler currently. I am experimenting with some stuff right now. If
> they do happen to be defined in gcc, is there a safe typedef of my own
> that I can do? Thanks in advance.

The definitions for __SIZE_TYPE__ and __SSIZE_TYPE depend on what compiler
options have been given to the gcc frontend. For 32-bit code which is
the default with the current Linux/MIPS compiler the definitions are just

-D__SIZE_TYPE__="unsigned int" -D__SSIZE_TYPE__=int

If you're experimenting with the MIPS sources, then go for the Linux/MIPS
tool chain or give up. Serious.

Ralf

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

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.024 / U:23.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site