Relative includes in Codewarrior 10?

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

Relative includes in Codewarrior 10?

Jump to solution
1,274 Views
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

Labels (1)
0 Kudos
Reply
1 Solution
663 Views
CrasyCat
Specialist III

Hello

 

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

 

These options might be helpful.

 

CrasyCat

View solution in original post

0 Kudos
Reply
4 Replies
663 Views
CrasyCat
Specialist III

Hello

 

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

CrasyCat

0 Kudos
Reply
663 Views
admin
Specialist II

Coldfire V2

0 Kudos
Reply
664 Views
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 Kudos
Reply
663 Views
admin
Specialist II

Worked great, thanks!

0 Kudos
Reply