[ECOS] Re: Regarding .inc file

Dave Lawrence dlawrence@ad-holdings.co.uk
Fri Mar 14 17:15:00 GMT 2008


Dileep Kumar wrote:
> Hi,
> Could you please tell me what is the purpose of " .inc " file.
> How it is different from other file extension like " .s and  .h "

.h files are included by .c files
.inc files are included by .s or .S files

Note that to use #include or other c-like preprocessor directives in an 
assembler file it must be capital .S

If your editor supports syntax formatting then it's handy that different 
languages use different file extensions, although in theory an include 
file could have any extension you like.

> 
> Thanks
> Dileep Kumar
> 


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list