This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
stdio&unistd for cross compilation
- To: "'egcs-bugs at cygnus dot com'" <egcs-bugs at cygnus dot com>
- Subject: stdio&unistd for cross compilation
- From: Don Bowman <don at pixsci dot com>
- Date: Sat, 18 Apr 1998 14:15:23 -0400
I appears that stdio.h and unistd.h are newly included
in gcc/libgcc2.c and gcc/frame.c. A comment appears
about these includes indicating fixproto will guarantee
their existence.
I'm pretty sure this is incorrect. In the case of cross-compilation,
I don't think these files could have any meaning (whether fixproto
made them or not).
I simply removed the includes.
They were put there by:
Fri Apr 17 11:21:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* frame.c: Include stdlib.h and unistd.h to possibly get various
function prototypes. The fixproto script guarantees these header
files exist on the target system.
* libgcc2.c: Likewise.
Anyone care to comment?
--don