I'm sure this is non standard / gcc specific.
What you want:

cd project/include
export MY_INCLUDE_PATH=`pwd`
cd ../examples
tcc -I"$MY_INCLUDE_PATH" example.c




On 18 February 2013 21:46, Андрей Аладьев <[email protected]> wrote:

> cd project/include
> export C_INCLUDE_PATH=`pwd`
> cd ../examples
> tcc example.c
> >> error: include file 'test.h' not found
>
>
> _______________________________________________
> Tinycc-devel mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
>
>
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to