Error compiling libio for egcs 19981012

Jerry Quinn Jerry.Quinn.jquinn@nt.com
Wed Oct 14 08:40:00 GMT 1998


After building gcc, the compiler then tries to build the support
libraries.  On HPUX 10.20, while building libio, the compiler complains
about being unable to create libc-lock.h.  For this to happen, it
requires that GLIBC be defined, which doesn't make much sense to me on
HPUX, especially since I haven't installed it :-)

config.status contains:

#!/bin/sh
# This file was generated automatically by configure.  Do not edit.
# This directory was configured as follows:
../../configure
--with-gcc-version-trigger=/usr/local/pkg/egcs/egcs-19981012/gcc
/version.c --host=hppa1.1-hp-hpux10.20 --with-gnu-as
--prefix=/usr/local/pkg/egc
s/egcs-19981012
--exec-prefix=/usr/local/pkg/egcs/egcs-19981012/hpux-10.20 --nor
ecursion 
# using "mh-frag"

I can't figure out where the GLIBC definition is coming from, though. 
Also, it appears that the file 'depend' in libio already has libc-lock.h
in it.  Is this recreated during configuring or is it just included in
the Makefile?

If I do the following, the Makefile appears to have the correct
dependency in it:

cd <build_dir>/hppa1.1-hp-hpux10.20/libio
make depend
config.status

I created my source tree starting from three snapshots ago and updating
with diffs.

-- 
Jerry Quinn				Tel: (514) 761-8737
jquinn@nortel.ca			Fax: (514) 761-8505
Speech Recognition Research



More information about the Gcc-bugs mailing list