www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/10/05/16:29:15

To: "Don L." <lopez AT vsl DOT ist DOT ucf DOT edu>
Cc: Brian Acton <brian_acton AT powertalk DOT apple DOT com>, djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: djgpp and the 386SX
Date: Wed, 05 Oct 94 16:54:25 +0200
From: eliz AT is DOT elta DOT co DOT il

> Off hand I don't know what the "-mno-486" flag does but by ANSI C 
> definitions, an signed integer as you have declared "i" to be; has the 
> maximum and minimum values of -32,767 to 32,767. You want to declare "i" 

Wrong!  GCC produces 32-bit code, which means int is 32 bit, not 16.  So
it can hold values upto 2 million.

	Eli Zaretskii

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019