Frequently Asked Question

C-CODE: How to fix "The input line is too long"-error in test driver generation?
Last Updated 24 days ago

The reason for this is the command line length limit of the windows command line. The maximum line length for a windows batch file is 4048 characters.

If you have too many files with too long names, the linker command in the compile script generated by TPT is too long.

A solution for that is to adjust the generated make.bat file manually.

For this, extract parts of the linker command (like the list of *.o files) to a "linker response file".
After this adjustment you need to run the make file again.

A picture of an example you can find enclosed.

Please Wait!

Please wait... it will take a second!