gcc: c-parse.c: No such file or directory

来源:互联网 发布:java中random怎么用 编辑:程序博客网 时间:2024/06/15 09:32

reprot when build gcc3.4.6

solved a post by Altera Forum 

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);

0 0
原创粉丝点击