On Mon, Sep 29, 2008 at 5:46 PM, Bernd Petrovitsch <bernd@xxxxxxxxx> wrote:
On Mon, 2008-09-29 at 17:38 +0530, Pranav Peshwe wrote:Is that actually possible?
> On Mon, Sep 29, 2008 at 2:38 PM, Bernd Petrovitsch <bernd@xxxxxxxxx>
> 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.
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 ecartis@xxxxxxxxxxxx
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.