|
|
SDK Documentation |
Copyright © 1997-2001 |
March 30, 2001 |
The compiler is now based on gcc 2.95.3 rather than on egcs. This has a number of effects:
NUON specific changes in this version include:
_ _ stack_top
" which contains
the desired address. That's two leading underscores if you define the
symbol in assembly language, or just one if you define it in C/C++ code.main()
function is
called.Some things regarding structure member alignment have been changed. Use the PACKED modifier to prevent the compiler from attempting to align structure members:
// This is 5 bytes long with PACKED typedef struct { char x; long y; } PACKED weird_xy; |
// This is 8 bytes long because compiler // aligns "y" member to long address typedef struct { char x; long y; } weird_xy |