Relative includes in Codewarrior 10?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Relative includes in Codewarrior 10?

跳至解决方案
1,713 次查看
admin
Specialist II

How can I get Codewarrior 10 to work with includes such as:

 

 

#include "../common/moptions.h"

 

 

I know the file exists at the specified location, but the compiler doesn't seem to be following the path relative to the current file...

 

Thanks,

 

Brad

标签 (1)
0 项奖励
回复
1 解答
1,102 次查看
CrasyCat
Specialist III

Hello

 

Look at option -cwd and -gccincludes in {Install}\Help\PDF\MCU_ColdFire_Compiler.pdf

 

These options might be helpful.

 

CrasyCat

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,102 次查看
CrasyCat
Specialist III

Hello

 

- Which CPU are you targeting (HC08, Coldfire V1, ..)?

CrasyCat

0 项奖励
回复
1,102 次查看
admin
Specialist II

Coldfire V2

0 项奖励
回复
1,103 次查看
CrasyCat
Specialist III

Hello

 

Look at option -cwd and -gccincludes in {Install}\Help\PDF\MCU_ColdFire_Compiler.pdf

 

These options might be helpful.

 

CrasyCat

0 项奖励
回复
1,102 次查看
admin
Specialist II

Worked great, thanks!

0 项奖励
回复