CW for HC12: Problems with include path

CW for HC12: Problems with include path

Post by bastian4 » Thu, 03 Jul 2003 17:24:59


Hi,

I'm using V2 of CW for HC12 and have big problems with the settings.
I have following:

Our OS has the include file beneath
c:\develop\sciopta\krn\include

Therein are folders: Kkernel,ossys

with gcc I do: -I c:\develop\sciopta\krn\include
and than I can write
#include <ossys/types.h>

but not so with CW.
I placed above path in user paths or system paths or in both with no
change. CW complains it cannot find ossys/types.h

Any hint will be appreciated.



---
42Bastian
 
 
 

CW for HC12: Problems with include path

Post by MW Ro » Wed, 09 Jul 2003 22:45:27

In article < XXXX@XXXXX.COM >,



You need to have the folder ossys in youraccess paths settings and just
use #include <types.h>

On our other systems we support relative paths but the access path has
to point to the parent folder ... i.e for include/ossys/types.h you
would need the access path for include, non recursive and interpret
UNIX paths selected... However that may goof other things up so it is
easier to just fix the include if possible.

Ron

--
Metrowerks has moved, our new address is now
7700 West Parmer Lane
Austin, TX 78729
Sales and Support 512-996-5300 800-377-5416
Ron Liechty - XXXX@XXXXX.COM - http://www.yqcomputer.com/

 
 
 

CW for HC12: Problems with include path

Post by bastian4 » Tue, 15 Jul 2003 17:38:04

>>I placed above path in user paths or system paths or in both with no

Actually we must differ between ossys/types.h and types.h so this was
no choice.


Well, I clicked away one of the icons left to the paths and it worked.
But hell, I nowhere found an explanation what these mean.
(And I looked in HC12,Coldfire and ARM ADS manuals).


BTW: Why is no cut-copy-past possible within paths ?

Anyway it works, but ...
---
42Bastian
 
 
 

CW for HC12: Problems with include path

Post by MW Ro » Wed, 16 Jul 2003 00:52:18

In article < XXXX@XXXXX.COM >,



Overlapping files means recursive searching. the check lets you remove
a access path or add it selectively.

These should be documented in the IDE manual.

you can drag and drop to move them but that is all.

Ron

--
Metrowerks has moved, our new address is now
7700 West Parmer Lane
Austin, TX 78729
Sales and Support 512-996-5300 800-377-5416
Ron Liechty - XXXX@XXXXX.COM - http://www.yqcomputer.com/