uClibc gcc-svn support

Peter S. Mazinger ps.m at gmx.net
Tue Mar 7 15:56:28 UTC 2006


On Tue, 7 Mar 2006, Joseph S. Myers wrote:

> On Tue, 7 Mar 2006, Peter S. Mazinger wrote:
> 
> > Hello!
> > 
> > I can't find where OPTION_GLIBC is defined, used as
> > #define TARGET_C99_FUNCTIONS (OPTION_GLIBC)
> > 
> > Any pointer?
> 
> gcc/config/linux.opt uses InverseMask(UCLIBC, GLIBC) which causes 
> gcc/opth-gen.awk to emit a definition of OPTION_GLIBC.

I looked into it because I needed a check in gcc/config/cris/linux.h

#if UCLIBC_DEFAULT (or OPTION_GLIBC)
# define CRIS_SUBTARGET_VERSION cris-axis-linux-uclibc
#else
# define CRIS_SUBTARGET_VERSION cris-axis-linux-gnu
#endif

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list