* [ECOS] Regarding .inc file
@ 2008-03-14 9:25 Dileep Kumar
2008-03-14 13:49 ` [ECOS] " Dave Lawrence
0 siblings, 1 reply; 3+ messages in thread
From: Dileep Kumar @ 2008-03-14 9:25 UTC (permalink / raw)
To: Gary Thomas, ecos-discuss
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 "
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ECOS] Re: Regarding .inc file
2008-03-14 9:25 [ECOS] Regarding .inc file Dileep Kumar
@ 2008-03-14 13:49 ` Dave Lawrence
2008-03-14 17:15 ` Dave Lawrence
0 siblings, 1 reply; 3+ messages in thread
From: Dave Lawrence @ 2008-03-14 13:49 UTC (permalink / raw)
To: Dileep Kumar; +Cc: Gary Thomas, ecos-discuss
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ECOS] Re: Regarding .inc file
2008-03-14 13:49 ` [ECOS] " Dave Lawrence
@ 2008-03-14 17:15 ` Dave Lawrence
0 siblings, 0 replies; 3+ messages in thread
From: Dave Lawrence @ 2008-03-14 17:15 UTC (permalink / raw)
To: ecos-discuss; +Cc: Gary Thomas, ecos-discuss
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-03-14 13:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-14 9:25 [ECOS] Regarding .inc file Dileep Kumar
2008-03-14 13:49 ` [ECOS] " Dave Lawrence
2008-03-14 17:15 ` Dave Lawrence
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).