Forum Discussion
Altera_Forum
Honored Contributor
21 years agoI am having some level of success following your instructions.
Your stripcr program and script has been very helpful. I did find that I had to change it so that instead of Makefile.in it looks in any Makefile.* and instead of config.in, it looks at any config.*. I also found that throughout the build I would have to run the script again to strip newly generated files of their carriage returns. Currently I am hung up on the newlib configuration/compile. It is having problems with the following directory of the install: nios2-gnutools/src/newlib-build/nios2-elf/mno-hw-mul/newlib/libc/sys/. The Makefile contains no definition for "sys_dir". Apparently this is where the specific system is called out. In looking at the nios2-gnutools/src/newlib/newlib/libc/sys directory, there are several systems listed. None of them are related to nios, but there is one for linux. I have tried to get the Makefile to use this directory, but it still has issues. Were you able to get your newlib/ items to build properly without any tweaking? If so, was your "sys_dir" variable defined? It was not defined in my setup. Thanks again for your help.