Forum Discussion

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

Error: The input line is too long.

I am using Nios II 9.1 Software Build Tools for Eclipse (SP1).

I have a large number of source files to add to my IDE project. At some point after adding many source files I get this error when trying to compile:

Executing: nios2-lib-update-makefile --lib-dir . --no-src --add-src-files ..........

The input line is too long.

The Makefile is being populated with source files but there are too many to fit in one command line.

altera: please fix this! The update to the Makefile could be broken down into several shorter commands.

Evil Hacker

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I have resorted to manually editing the Makefile every time I add or remove source files within the Eclipse IDE. What a PITA :mad: !

    warning:

    Keep a backup copy of the Makefile around (or check it into a revision control system) because I have found that sometimes all sources will be deleted from the Makefile. If this happens and you don't have a backup you will have to recreate the source list from scratch :eek: !