Article View: gnu.gcc.help
Article #41475Re: gcc 2.7.0 - need ctype.h?
From: Joe Buck
Date: Wed, 20 Mar 1996 00:00
Date: Wed, 20 Mar 1996 00:00
20 lines
1281 bytes
1281 bytes
drummojg@falcon.jmu.edu (John G. Drummond) writes: >#include <ctype.h> will cause gcc to return: > > >In file included from /usr/include/endian.h:34, > >from /usr/include/ctype.h:43, > >from question3.c:2: > >/usr/include/bytesex.h:6: linux/version.h: No such file or directory This is what I consider a Linux C library bug: some of the headers require the Linux kernel source to be present. I can't fathom why. Evidently it's using information in the Linux version header to determine whether you have a big-endian or little-endian machine. Short-term solution: install the Linux kernel source on your machine. Long-term solution: linux-gcc people will need to fix this. -- -- Joe Buck <jbuck@synopsys.com> (not speaking for Synopsys, Inc) Work for something because it is good, not just because it stands a chance to succeed. -- Vaclav Havel
Technical Details
Message-ID:
<4ipj22$bnm@hermes.synopsys.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4if1db$4h@doc.jmu.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,ae8e35eaaebb3691 X-Google-Attributes: gid11318c,public From: jbuck@synopsys.com (Joe Buck) Subject: Re: gcc 2.7.0 - need ctype.h? Date: 1996/03/20 Message-ID: <4ipj22$bnm@hermes.synopsys.com> X-Deja-AN: 143372306 references: <4if1db$4h@doc.jmu.edu> organization: Synopsys Inc., Mountain View, CA 94043-4033 newsgroups: gnu.gcc.help