Hi,
While trying to set my vector cast environment to do structural coverage. I'm finding that cl6x cannot be called directly, even though the path is set. That is, I need to prepend the complete tool path to the cl6x compiler command to get it to work look below. Is there a way to get around this, some system environment setting, or an option ?
( Here is an easy example)
C:\VCAST\Environments\main>path
PATH=C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Serena\vm\win32\bin;C:\Program Files (x86)\Serena\vm\commo
2;C:\Program Files\Common Files\Microsoft Shared\Microsoft Online Services;C:\Program Files (x86)\Common Files\Microsoft S
osoft Online Services;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;
Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Progr
x86)\Common Files\Roxio Shared\OEM\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\12.0\DLLShared\;C:\Prog
(x86)\Roxio\OEM\AudioCore\;C:\DDC-I;C:\Program Files\Mercurial\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Tortoise
ram Files\TortoiseHg\;C:\ti\ccsv5\tools\compiler\c6000_7.4.13\bin;C:\ti\ccsv5\ccs_base\scripting\examples\loadti
THIS WAY IT DOES NOT WORKS
C:\VCAST\Environments\main>cl6x -mv6700 --abi=coffabi -Ooff -g main.c
>> ERROR: cannot run acp6x - invalid argument mode
C:\VCAST\Environments\main>dir
Volume in drive C has no label.
Volume Serial Number is F45E-275B
Directory of C:\VCAST\Environments\main
09/20/2016 04:46 PM <DIR> .
09/20/2016 04:46 PM <DIR> ..
09/15/2016 03:31 PM 49 main.c
1 File(s) 49 bytes
2 Dir(s) 292,449,701,888 bytes free
THIS WAY IT WORKS
C:\VCAST\Environments\main>C:\ti\ccsv5\tools\compiler\c6000_7.4.13\bin\cl6x -mv6700 --abi=coffabi -Ooff -g main.c
C:\VCAST\Environments\main>dir
Volume in drive C has no label.
Volume Serial Number is F45E-275B
Directory of C:\VCAST\Environments\main
09/20/2016 04:49 PM <DIR> .
09/20/2016 04:49 PM <DIR> ..
09/15/2016 03:31 PM 49 main.c
09/20/2016 04:49 PM 3,284 main.obj
2 File(s) 3,333 bytes
2 Dir(s) 292,449,697,792 bytes free
------
C:\VCAST\Environments\main>type main.c
/*
* main.c
*/
int main(void) {
return 0;
}