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.

C6000 CGT 7.3.6 (Linux): Linker does not handle double-slash (//) in path names properly

Hi,

The following command (note the double-slash in a path name)

cl6x -z -o=main.out a/b//c/d/file.obj -c a/b/c/d/main.obj

fails with the following message:

<Linking>
"/tmp/14635KpAAoj", line 4: fatal error: unrecognized file:  "a/b"
>> Compilation failure

If the double-slash is replaced with a single slash (/), linking works fine.

Steps to reproduce:

  1. Extract the attached archive to a directory (in Linux)
  2. In file example.sh, modify the CC_PATH variable to point to the C6000 compiler in your system
  3. Execute example.sh

-Matti

testcase.zip