gnu.gcc.help
[Top] [All Lists]

Re: How to set .word & .int to 32 bit ?

Subject: Re: How to set .word & .int to 32 bit ?
From: "Thomas Björkman (ÄS/EAB)"
Date: Tue, 30 May 2006 13:23:35 +0200
Newsgroups: gnu.gcc.help
Hej !

  I just found out that if I set the flag -m32 it works.
  Default is 16 bits for .word, .int, .long .
  We have a rather complex environment for compiling/linking
  Maybe 16-bit default is configured somewhere in the compiler setup ?

 /Thomas


On 2006-05-30 12:27, Maurizio Loreti wrote:
Maurizio Loreti <mlo@xxxxxxxxx> writes:


You cannot.  int and long are defined by the Standard as having at
least 16 bits.


hmmm, correction.  "long" should be at least 32 bits long.  are you sure?



<Prev in Thread] Current Thread [Next in Thread>
  • Re: How to set .word & .int to 32 bit ?, "Thomas Björkman (ÄS/EAB)" <=