Using embedded c and including header files

Tim Beaulen tbscope@gmail.com
Thu Aug 12 05:40:00 GMT 2010


Hello,

I'm experimenting with embedding c in my scripts but I have a problem.

When I add an include file, it doesn't find it. The compiler does not
look in /usr/include
I searched through the manual of gcc and set a couple of environment
variables (CPATH, ...), but this didn't work either.

Is it possible to tell the compiler where to look for headers? I don't
see an option in stap itself to set these directories. I'm using
systemtap 1.2 though.



More information about the Systemtap mailing list