This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Regarding .inc file


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]