Forum Discussion
Altera_Forum
Honored Contributor
14 years agoBefore these errors, I overcome the error below:
gcc: c-parse.c: No such file or directory
gcc: no input files
make: *** Error 1
make: Leaving directory `/nios2-linux/toolchain-build/build/gcc-bootstrap-build/gcc'
make: *** Error 2
make: Leaving directory `/nios2-linux/toolchain-build/build/gcc-bootstrap-build'
make: *** [/nios2-linux/toolchain-build/bui
by doing what Magog said --- Quote Start --- We had the same problem. It can be solved by modifying file nios2-linux/gcc3/gcc/c-parse.y. From the line 1650, 1661, 1670 and 1675 modify $$ to $<ttype>$. For example change the line 1650 from { $$ = start_struct (RECORD_TYPE, $2); to { $<ttype>$ = start_struct (RECORD_TYPE, $2); --- Quote End --- in http://www.alteraforum.com/forum/showthread.php?t=22528