Error msg: Cannot find '/etc/compiler.ccg'

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error msg: Cannot find '/etc/compiler.ccg'

1,351 Views
rlw
Contributor I

I am using CW 5.0 for S12X.

 

I was sent the source code and make file from a developper in one of our Asian offices. He apparantly is using CW 5.1.

 

After  adjusted the paths in his make file, I ran it.. I got the following error message:

 

cc: file '/etc/compiler.ccg': The system cannot find the path specified.
I can not find anything in the make file to explain this, so I assume it is his option settings:
CCFLAGS_COMMON= $(CC_OBJ_FORMAT)CCFLAGS_COMMON+= -Lasm                  #Produce listing fileCCFLAGS_COMMON+= -Lm=$(DEP_LIST_FILE)   #Generate dependency informationCCFLAGS_COMMON+= -WmsgNu=abcet#CCFLAGS_COMMON+= -WmsgCE255            #Limit the number of warning msg's to 255CCFLAGS_COMMON+= -CPUHCS12XE#CCFLAGS_COMMON+= -D__NO_FLOAT__         #Add preprocessor define#CCFLAGS_COMMON+= -Mb                   #Banked Memory modelCCFLAGS_COMMON+= -Ms                    #Small Memory modelCCFLAGS_COMMON+= -I$(INCLUDEPATH)       #Include PathCCFLAGS_COMMON+= -LmCfg=ilmu            #configuration for list of include filesCCFLAGS_COMMON+= $(ENVOPTIONS)          #Envirement Options#CCFLAGS_COMMON+= -Lasmc=ps             #Configure listing file (Do not write the source code, and source prolog)#CCFLAGS_COMMON+= -WmsgSd1805           #disable warning C1805#CCFLAGS_COMMON+= -WmsgSd4200           #disable warning C4200CCFLAGS_COMMON+= -ViewHidden#CCFLAGS_COMMON+= -CpGPAGECCFLAGS_COMMON+= -PsegObj               #only optimizes page stores for the same object#CCFLAGS_COMMON+= -OnCstVar             #disable CONST variable by constant replacementCCFLAGS_COMMON+= -One                   #Disable any low level common sub expression eliminationCCFLAGS_COMMON+= -OnP                   #Disable peepholw optimizationCCFLAGS_COMMON+= -OnPMNC                #Disable code generation for NULL pointer to member checkCCFLAGS_COMMON+= -Ont                   #Disable tree optimizerCCFLAGS_COMMON+= -OnB                   #Disable branch optimizerCCFLAGS_COMMON+= -Onbf                  #Disable optimize bit feildsCCFLAGS_COMMON+= -Onbt                  #Disable IGC level branch tail mergingCCFLAGS_COMMON+= -Onca                  #Disable any constant foldingFCFLAGS_COMMON+= -Oncn                  #Disable constant folding in the case of new constant
I have reviewed the documentation, but still have not found any hints.
Labels (1)
Tags (1)
0 Kudos
4 Replies

873 Views
CrasyCat
Specialist III

Hello

 

HC12 compiler is not expecting any file with extension .ccg.

This file should be project specific and is used to build this specific project.

 

Do you have an include from this .ccg file somewhere?

Inside of your makefile do you have a reference to this .ccg file? In the dependency list? As a target? 

 

CrasyCat

873 Views
rlw
Contributor I

I already checked the make file and sources. There is no reference what so ever.

 

I guess I will just have to create a new make file using a known working one from one of my own projects.

 

0 Kudos

873 Views
NavidadRedivivu
Contributor III

That is not comming from the S12 compiler. Check how this "cc" tool that issues the error is getting called. I suspect that the makefiles might just hold a suprise for you. Googling for "compiler.ccg" reveales that this configuration file is used by a tool from MKS Toolkit (called 'cc' by the way).

0 Kudos

873 Views
rlw
Contributor I

Well, I just took a known working make file and replaced the list of source files with the list of this project's source files.

 

Same problem.

 

Anyway, I will try asking MKS.

 

Thanks.

 

0 Kudos