I've imported a CCS3 project producing a library (*.lib) into CCS 4.0.0.14000 . The legacy import function worked quite fine, however, when building the project ar2000 is invoked with a syntax error in the makefile. The makefile is generated automatically, thus, there seems to be an error in the makefile generator.
The wrong line reads:
"C:/Programme/Texas Instruments/ccsv4/tools/compiler/c2000/bin/ar2000" -r"hal_flash.lib" "hal_flash.lib" $(GEN_CMDS_QUOTED) $(ORDERED_OBJS)
There should be one space between the -r option and the following argument. Another error is that the name of the output file (hal_flash.lib) is listed twice. Running the makefile manually with that line changed to
"C:/Programme/Texas Instruments/ccsv4/tools/compiler/c2000/bin/ar2000" -r "hal_flash.lib" $(GEN_CMDS_QUOTED) $(ORDERED_OBJS)
works.
The problem seems to be related to the settings dialog of the Librarian:
The filed "All options" contains
-r "hal_flash.lib"
which is fine but the space between -r and "hal_flash.lib" doesn't make it to the makefile. And the command line pattern should not list ${output} because this ceates a second instance of "hal_flash.lib" on the command line.
Unfortunately, the "All options" field is read-only. Is there a way to modify the code that is put into the makefile?
Thanks,
Aron
