This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Newbie doubt about CYG... macros
- From: Madhavi Manchala <madhavi dot linux at gmail dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Sun, 13 Feb 2011 17:42:58 +0530
- Subject: [ECOS] Newbie doubt about CYG... macros
Hi All,
I am new to the eCos. While looking at one of the eCos applications I
am seeing lot of macros which are starts with CYG... I am viewing the
application source in Cygwin Linux environment on Windows XP system.
Here, my doubt is, is CYG represents the Cygwin Linux macros or eCos
OS macros. I mean, are they defined in the Cygwin Linux OS or in eCos
OS packages?
The macros are look like
#ifdef CYGPKG_KERNEL
CYG_INTERRUPT_STATE
#define CYG_ELF_MACHINE EM_386
#if defined(CYGPKG_HAL_ARM)
#define CYG_ELF_MACHINE EM_ARM
However, I heard a word like Cygnus' eCos. So, the macros which are
starts with CYG are related to eCos OS but not related to Cygwin
Linux. Am I correct?
Sorry for asking such a simple question. But, I am looking into an
eCos application in Cygwin linux environment. So, I am in a bit
confusion about those macros. If anyone clarifies me, I am very happy.
Thanks in advance.
Regards,
Madhavi M.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss