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]

Re: gcc/f/malloc.h and HP-UX 10.20


On Thu, May 24, 2001 at 10:52:48PM -0500, Albert Chin-A-Young wrote:
> On Thu, May 24, 2001 at 07:59:25PM -0400, John David Anglin wrote:
> > > Isn't that too subtle a fix? Even if the timestamps are updated,
> > > building f/ansify.c with $(HOST_CC) is still wrong. So, you'd simply
> > > be masking the problem.
> > 
> > There isn't really a choice.  You can't use the gcc target because it
> > may not run on the host.  The intdoc application has to run on
> > the host and you need an ANSI compiler to build it.  I have a patch
> > that will allow building ansify with a non ANSI compiler but this
> > is only the first step in generating the documentation.  The situation
> > really isn't much different than that for bison, autoconf, etc.
> > 
> > Possibly, f/intdoc.texi should be in the list of files that
> > contrib/gcc_update touches.
> 
> Ok, the following patch worked for me.

Well, until we get to building fastjar/jartool.c which uses cc:

gmake[2]: Entering directory `/opt/build/gcc-3.0/objdir/fastjar'
cc -DHAVE_CONFIG_H -I. -I../../fastjar -I. -I. -I../../fastjar
-I../../fastjar/../zlib    -g -c ../../fastjar/jartool.c
cc: "../../fastjar/dostime.h", line 22: error 1000: Unexpected symbol:
"*".
cc: "../../fastjar/pushback.h", line 22: error 1000: Unexpected symbol: "ub1".
cc: "../../fastjar/pushback.h", line 30: error 1000: Unexpected symbol: "*".
cc: "../../fastjar/pushback.h", line 31: error 1000: Unexpected symbol: "*".
cc: "../../fastjar/pushback.h", line 32: error 1000: Unexpected symbol: "*".
cc: "../../fastjar/compress.h", line 83: error 1000: Unexpected symbol: "*".
cc: "../../fastjar/compress.h", line 85: error 1000: Unexpected symbol: "*".
cc: "../../fastjar/compress.h", line 85: error 1000: Unexpected symbol: "ub4".
cc: "../../fastjar/jartool.c", line 217: error 1000: Unexpected symbol: "*".
cc: "../../fastjar/dostime.h", line 20: error 1705: Function prototypes are
an ANSI feature.

-- 
albert chin (china@thewrittenword.com)


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