2008/10/22 Dong Phuong <[EMAIL PROTECTED]>: > > I'm porting for a microcontroller. And now I want to > add some features to the current language C int GCC > (for example some directives such as near, far , > ....). SO could you please tell me how I can do that > ?
Hi, I am not sure if it is solves all your cases, but things like far, near, that are usually handled as attributes. Please take a look at http://gcc.gnu.org/onlinedocs/gcc-4.3.2/gcc/Function-Attributes.html#Function-Attributes. Cheers, Piotr