This is the mail archive of the
mailing list for the eCos project.
RE: Newbie doubt about CYG... macros
> It means, the CYG stands for Cygnus irrespective of either Linux or
> Cygwin environment. The CYG represents the eCos OS macros.
From: Madhavi Manchala [mailto:firstname.lastname@example.org]
Sent: 13. februar 2011 14:21
To: Christophe Coutand
Subject: Re: [ECOS] Newbie doubt about CYG... macros
On Sun, Feb 13, 2011 at 6:14 PM, Christophe Coutand <email@example.com> wrote:
> Hi Madhavi,
> According to the naming convention: "The first few characters, in this
> case the three letters CYG, are used to identify the organization that
> produced the package" :
> CYG was used for Cygnus (original creator of eCos). I don't believe this
> convention is strictly followed, all packages keep CYG as default
> prefix, even newer contributions. Maintainers can correct me.
> Macros are the same whatever environment (Linux or Cygwin) you are
Thank you very much for your quick respose.
It means, the CYG stands for Cygnus irrespective of either Linux or
Cygwin environment. The CYG represents the eCos OS macros.
If I am wrong, please correct me.
Thanks and Regards,
> -----Original Message-----
> From: firstname.lastname@example.org
> [mailto:email@example.com] On Behalf Of Madhavi
> Sent: 13. februar 2011 13:13
> To: firstname.lastname@example.org
> 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
> #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.
> 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
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss