This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: INT_TYPE_SIZE 32 to 16


hi 

well i dont understand why u need to decrease the size
of int in linux.

what u could have simply done is use int16_t or
uint16_t for unsigned integer. it will work fine

all u have to do is add inttypes.h header file

bye

ankit
 --- Ashok Anand <ashok.anand@gmail.com> wrote: 
> hi,
> 
>     I am facing a problem while building gcc. I 
> only changed value of
> INT_TYPE_SIZE defined in file
> gcc-3.4.1\gcc\config\i386\i386.h
>   to 16, specifying that int  size is 16 bits
> instead of 32 bits,
>  When i ran make , it didn't build and gave errors.
> This was the only
> change i made.  Please  tell me how i can  specify
> int size to be 16
> bits rather than 32 bits.
> 
> regex.c: At top level:
> regex.c:8178: warning: unused parameter 'preg'
> regex.c: In function `byte_re_match_2_internal':
> regex.c:7576: error: unrecognizable insn:
> (insn:HI 2861 6401 2862 228 regex.c:7833 (parallel [
>             (set (reg:SI 1211 [ mcnt ])
>                 (zero_extend:DI (subreg:HI (reg/v:SI
> 71 [ mcnt ]) 0)))
>             (clobber (reg:CC 17 flags))
>         ]) -1 (nil)
>     (expr_list:REG_UNUSED (reg:CC 17 flags)
>         (nil)))
> regex.c:7576: internal compiler error: in
> extract_insn, at recog.c:2083
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for
> instructions.
> make[1]: *** [regex.o] Error 1
> make[1]: Leaving directory
> `/cygdrive/e/gcc/gcc-3.4.1/i686-pc-cygwin/libiberty'
> make: *** [all-target-libiberty] Error 2
> 
> With regards,
> -ashok
>  

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]