Forum Discussion
Altera_Forum
Honored Contributor
15 years agoNIOS2 compiler defined macros
Can someone point me to a list of compiler defined macros that are present for NIOS2? I was hoping to use something like gcc's __TIMESTAMP__, but that doesn't work and I'm not sure if something simi...
Altera_Forum
Honored Contributor
15 years agoThe compiler is gcc, there is a 'magic' incantation to get the predefined macros preinted (but I can't remember off hand what it is).
You might be looking for __DATE__ and __TIME__ which are part of the C standard.