Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Precompiled headers

Altera_Forum
Honored Contributor II
1,076 Views

Hi all, I am new to Nios II, using Nios IDE 5.1 for a project and the first problem I'm facing is slooow compilation (and this is a P4 multipro 3.6GHz with 2GB RAM). I tried using precompiled headers but got an error: 

 

sorry,unimplemented: had to relocate PCH 

 

Then browsing the web found this: http://gcc.gnu.org/ml/gcc-bugs/2004-05/msg00559.html (http://gcc.gnu.org/ml/gcc-bugs/2004-05/msg00559.html

 

But because I'm a Nios newbie I don't know what is required to fix this. I tried recompiling gcc but didn't succeed so far, and I'm a bit confused: Is the nios2-elf-gcc source provided within the niosII distribution? What is different between nios2-elf-gcc and gcc? I see the source of gcc but to fix the PCH problem I guess what I need to recompile is nios2-elf-gcc? Also any hints on how to recompile it? I tried recompiling gcc but was getting error: ld: cannot find -lgcc 

 

Thanx in advance, any help will be much appreciated!
0 Kudos
0 Replies
Reply