Why do I see wrong variable size when compiling NIOS II C application utilizing custom makefile ? - Why do I see wrong variable size when compiling NIOS II C application utilizing custom makefile ?
Description When compiling NIOS II C code through a custom makefile, the “Long” variable size is 8 Byte. However, when compiling NIOS II application in NIOS II eclipse, the size is 4 Byte. Resolution The possibility of making wrong compilation through the custom makefile is coming from utilizing PC GCC ("x86_64-pc-cygwin"). However, the correct one should be "nios2-elf-gcc". To avoid this issue, use the NIOS II SBT to build NIOS II applications.
Custom Fields values:
['novalue']
Troubleshooting
FB: 460604;
False
['Nios® II Processor']
['FPGA Dev Tools Quartus II Software']
novalue
14.1
['Programmable Logic Devices']
['Nios® II Embedded Design Suite (EDS)']
['novalue']
['novalue'] - 2021-08-25
external_document