Forum Discussion
Altera_Forum
Honored Contributor
22 years agoGCC Compiler Switch
Hi, I want to force the Nios II GCC compiler to use a 32-bits memory location for any variable (alt_u32, alt_u16, alt_u8, etc). Is there a GCC compiler switch to do this trick? Best Reg...
Altera_Forum
Honored Contributor
22 years agoHello Marco,
I don't know if there is a switch in GCC but you could change the typedefs in "alt_types.h" for each type to 32-bit. That would be quick and dirty way. Bye, niosIIuser