Re: Re: Re: [coldfire-gnu-discuss] GCC -I option seems to not work !?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Re: [coldfire-gnu-discuss] GCC -I option seems to not work !?



Hello Daniel,


> Daniel Jacobowitz wrote:
>
> Paths for -I are not relative to the source file.  They're relative to
> the current directory.  If you need to say "./src/main.c", then you
> need to say "-I./src/drivers".
>
> Try adding the -v option to CFLAGS to see what paths GCC is searching.
>


You're absolutly right.
I made the correction, and all is working fine now.


Remark: Yet another stupid error  :-|


Thank you for your help.

Claude.