You got your parameter quoting wrong. Usually you need to quote your parameters like this:
"-I$path"
because the shell does not know about the "inner" parameters. You can also try to give more than one -I switch instead.
In reply to Re^3: Include directories not included
by Corion
in thread Include directories not included
by jwetherill
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |