[Nestedvm] int16_t and friends?
Adam Megacz
megacz at cs.berkeley.edu
Sat May 1 21:30:19 EDT 2010
"Simmons, Aaron" <asimmons at rosettastone.com> writes:
> #include <sys/types.h>
> int main() {
> int16_t a;
> int32_t b;
> This compiles with gcc-3.3 but not with NestedVM's gcc.
It's actually the headers, not the compiler... Linux defines these by
default; NestedVM is based on newlib, which wants you to add
-D__MS_types__
to the compilation flags in order to get these definitions. I don't
know why, it wasn't my decision.
- a
More information about the Nestedvm
mailing list