This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Archiver error : the input line is too long

[Problem:
When building a Project in CCS4 I get the following message

' ' 'Building target: l_myproj.lib' 'Invoking: C6000 Archiver'

. ..

LIST OF FILES

...

the input line is too long.

C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: *** [l_myproj.lib] Error 255 C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors.

]


[Steps Needed to Recreate Problem:

Import a project  with a lot of files from CCS3.3 into CCS 4 and build it
]

The project builds fine in CCS3.3

As a workaround for now I issue the follwoing commands through command prompt 

"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c6000/bin/ar6x" @file_name_with_options.txt

I have created a file called file_name_with_options.txt which has allthe options and this works fine.

I tried to modify the c6000 librarian properties and CCs doesn't allow me to do so.

Any ideas on how to get around this issue.



  • Hi Pavan,

    Some of the options you could try

    1. Remove any spaces in the path of the file..(eg Program Files). Maybe try copying this to a different folder not containing spaces.

    2. Also try to reduce the size of the file path. Windows restricts the number of characters in a file path name to 256. CCSV$ might be doing the same, maybe setting a lower limit.

    Regards,

    Sid