16-bit int

Jonathan Wakely jwakely.gcc@gmail.com
Fri Aug 10 18:01:00 GMT 2012


On 10 August 2012 09:35, Göran Steen wrote:
> Thank you for your response.
>
> Sorry, this will not help. I want to test the snippets, not change them. Besides, I don't know if the compiler that will be used for the 16-bit machine will support any of the types you suggest, so I only want to use standard types.

Those are standard types.

But the bottom line is that on most targets you can't change the size
of int. You still haven't said what target you're using, but chances
are it's not possible.  You could look into running a simulator for a
target with 16-bit int instead.



More information about the Gcc-help mailing list