This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
inhibit_libc
- To: egcs at egcs dot cygnus dot com
- Subject: inhibit_libc
- From: Jonathan Larmour <jlarmour at cygnus dot co dot uk>
- Date: Tue, 22 Jun 1999 23:07:19 +0000
- Organization: Cygnus Solutions
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