This is the mail archive of the gcc-bugs@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]

stdio&unistd for cross compilation


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


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