Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

Linker error when linking a large number of objects

Hello,

I'm using NIOSII-Eclipse and Quartus13.1 on Windows 7. The NIOSII-Eclipse comes with gcc 4.5.3. While my c++-Project is using a large number of files, it seems that I hit the 32k limit on arguments when linking the project. This leads to a make-Error while linking my project:

nios2-elf-g++: error: CreateProcess: No such file or directory

Building process works fine. When I remove some files from Nios II Build everything is working fine, too.

I read about possible reasons and solutions for that error and it seems that using the option @FILE might be a workaround. But how can I use it when building and linking the project in the IDE?

Is there any (other) solution for that problem?

Thanks.
No RepliesBe the first to reply