On Mon, Sep 29, 2008 at 5:46 PM, Bernd Petrovitsch <[EMAIL PROTECTED]> wrote:
> On Mon, 2008-09-29 at 17:38 +0530, Pranav Peshwe wrote: > > On Mon, Sep 29, 2008 at 2:38 PM, Bernd Petrovitsch <[EMAIL PROTECTED]> > > wrote: > > > <snip> > > 2. Does it have some relation that in windows in C language int > size > > > > According to the C standard, sizeof(int) is the native register > width. > > And that is basically defined by the CPU. So if sizeof(int) == 2, > you > > probably have some 16bit microcontroller. > > > > Or, you are running an x86 processor in virtual 8086 mode. For eg. > > running a DOS app under Linux or Windows. > > > > Kindly CMIIW. > > Is that actually possible? > And with which toolchain? > > Bernd > -- > Firmix Software GmbH http://www.firmix.at/ > mobil: +43 664 4416156 fax: +43 1 7890849-55 > Embedded Linux Development and Services > > > > -- > To unsubscribe from this list: send an email with > "unsubscribe kernelnewbies" to [EMAIL PROTECTED] > Please read the FAQ at http://kernelnewbies.org/FAQ > > Not sure if it does the same thing, Turbo C on windows shows sizeof(int) == 2. -- Sunil.
