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 !?
- To: coldfire-gnu-discuss@xxxxxxxxxxxxxxxx
- Subject: Re: Re: Re: [coldfire-gnu-discuss] GCC -I option seems to not work !?
- From: Claude Sylvain <csylvain@xxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 10 Dec 2006 10:46:37 -0500
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.