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

Claude Sylvain csylvain at electro-technica.com
Sun Dec 10 15:46:37 UTC 2006


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.




More information about the coldfire-gnu-discuss mailing list