search for: char_min

Displaying 5 results from an estimated 5 matches for "char_min".

2004 Jul 15
2
[LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared(firstuse this function)
...9;ll edit later when 1.3 is released. Hi I've found that the min and max values for integral data types, for Interix 3.5 (gcc automatic macro is __INTERIX), are defined in the system header file: '/usr/include/limits.h': --- /usr/include/limits.h --------------------- ... #define SCHAR_MIN (-128) /* min value for a signed char */ #define SCHAR_MAX 127 /* max value for a signed char */ #define UCHAR_MAX 0xff /* max value for a unsigned char */ #if defined(_CHAR_UNSIGNED) || defined(__CHAR_UNSIGNED__) #define CHAR_MIN 0 #define CHAR_MAX UCHAR_MAX #else #define CHAR_MIN SCHAR_MIN...
2004 Jul 14
0
[LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared(firstuse this function)
...broaden the scope, when I know how to modify .in configuration files. However, I've found that the min and max values for integral data types, for Interix 3.5 are defined in the system header file: '/usr/include/limits.h': --- /usr/include/limits.h --------------------- ... #define SCHAR_MIN (-128) /* min value for a signed char */ #define SCHAR_MAX 127 /* max value for a signed char */ #define UCHAR_MAX 0xff /* max value for a unsigned char */ #if defined(_CHAR_UNSIGNED) || defined(__CHAR_UNSIGNED__) #define CHAR_MIN 0 #define CHAR_MAX UCHAR_MAX #else #define CHAR_MIN SCHAR_MIN...
2004 Jul 15
0
[LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared(firstuse this function)
.... -Chris > I've found that the min and max values for integral data types, for Interix > 3.5 (gcc automatic macro is __INTERIX), are defined in the system header > file: '/usr/include/limits.h': > > --- /usr/include/limits.h --------------------- > ... > #define SCHAR_MIN (-128) /* min value for a signed char */ > #define SCHAR_MAX 127 /* max value for a signed char */ > #define UCHAR_MAX 0xff /* max value for a unsigned char */ > > #if defined(_CHAR_UNSIGNED) || defined(__CHAR_UNSIGNED__) > #define CHAR_MIN 0 > #define CHAR_MAX UCHAR_MAX &gt...
2008 Feb 18
0
[LLVMdev] cross compiling with the C backend
Kevin André wrote: > For my master's thesis, I am trying to cross compile programs for the > PSP (PlayStation Portable) with LLVM and llvm-gcc. > > This is what I do: > > (1) compile a program and the libraries it uses (libpng etc.) with llvm-gcc > (2) link the bitcode files with llvm-ld into one file > (3) run "llc -march=c" on the result > (4) compile
2008 Feb 18
4
[LLVMdev] cross compiling with the C backend
For my master's thesis, I am trying to cross compile programs for the PSP (PlayStation Portable) with LLVM and llvm-gcc. This is what I do: (1) compile a program and the libraries it uses (libpng etc.) with llvm-gcc (2) link the bitcode files with llvm-ld into one file (3) run "llc -march=c" on the result (4) compile the resulting C source with the PSP toolchain It seems to work