This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

inhibit_libc


Can anyone explain why:

#if defined(CROSS_COMPILE) && !defined(inhibit_libc)
#define inhibit_libc
#endif

isn't at the *top* of libgcc2.c and frame.c? I'm building tools for our RTOS
which supplies it's own libc, but which isn't available at compiler build
time (for various reasons, but trust me - it can't be available).

External references to functions in libgcc are fine, but requiring the
headers isn't (which is what is controlled by inhibit_libc in these two
files).

If there's no reason why it's this way round I'll submit a patch.

Jifl
-- 
Cygnus Solutions, 35 Cambridge Place, Cambridge, UK.  Tel: +44 (1223) 728762
"I used to have an open mind but || Get yer free open source RTOS's here...
 my brains kept falling out."    || http://sourceware.cygnus.com/ecos
Help fight spam! http://spam.abuse.net/  These opinions are all my own fault


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