Forum Discussion
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- Altera said that "Floating Point Hardware 2 - newlib link problem" was solved in version 13.1. I am using version 14.1 and I can't make it work: configure: creating ./config.status config.status: creating Makefile gawk: ./confTgDCOE/subs.awk:1: BEGIN {\r gawk: ./confTgDCOE/subs.awk:1: ^ backslash not last character on line gawk: ./confTgDCOE/subs.awk:1: BEGIN {\r gawk: ./confTgDCOE/subs.awk:1: ^ syntax error config.status: error: could not create Makefile Makefile:9527: recipe for target 'configure-target-newlib' failed make[1]: *** [configure-target-newlib] Error 1 make[1]: Leaving directory '/cygdrive/c/Users/Gus/Project/software/Project_bsp/newlib-build-tmp/smallc' nios2-newlib-gen: Unable to Compile smallc newlib Does anybody know how to make it work? Thanks. --- Quote End --- I haven't personally encountered this, but googling the error message turns up http://sourceforge.net/p/mingw-w64/mailman/message/31554323/ which has a suggestion maybe worth trying: This is a bug in autoconf. It's fixed in newer autoconf versions, butremains in configure scripts that were generated by the old ones.Patch configure script by finding the line: ac_cs_awk_cr='\\r'and replacing it with ac_cs_awk_cr='\r'