Hi Vojta,

###
sed -e 's:#include "../../../common.h":#include <libarch/common.h>:' -i "$
HSCT_CACHE_DIR/include/abi/fourcc.h" 
###

I'm pretty sure there's a better way to do this.

There are many headers in abi/ that suffer from the problem that they don't 
include what they use, hence a simple test:

test.c:
#include /header/

whould fail to compile. I just fixed this one example I hit. It would 
certainly not do patching each and every one of them in hsct.sh. Why do you 
need to change the path? Is the relative path between the headers different 
when used in Coastline? Then maybe we should not use the relative include 
path and instead include <[xx/]common.h> and pass -I <path-to-common> to the
compiler.

Cheers,
Jiri
_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to