07-29-2014 10:53 AM
Hi, so I've gotten hold of the source code for alteras modifed GCC 4.7.3 from here: http://www.altera.com/support/ip/processors/nios2/ide/ips-nios2-ide-tutorial.htmlMy question is: where do i find instructions on how to build the nios2-elf-* toolchain? I know the general steps in building gcc but I do not know what specific configuration options should be specified and what libraries to use etc. Is there any documentation on the process already available that i've missed? Thank you for any assistance! BTW: I do know there are a pre-build binary distribution but I don't want to use that, I wan't to build it myself.
11-05-2014 08:27 PM
--- Quote Start --- Really, no one? It can't be that crazy to want to build the compiler myself... it is open source after all. --- Quote End --- I can think of 4 reasons no one is answering you on this: 1. We're writing applications for the NIOS II for some product or even hobby and that's not part of what is needed to accomplish this. 2. The included tools work. I've done 4 significant NIOS II projects (all with TCP/IP) and the only compiler bug I found had a simple workaround. 3. No one has the need to build the tools. If you had the expertise to make compiler changes or fix a bug, I could see then wanting to build it. But what is the need to build it just for the sake of building it? 4. It's not trivial to do (from what I've read) and one has to learn how to do this (as you're trying to do). BillA