gcp on HP-UX 10.20, alpha-dec-osf3.2

Sun, 10 Aug 1997 19:20:25 -0700 (PDT)


Hi,  it's me again.

I wrote earlier about problems with gpc making on solaris 2.5 (SunOS 5.5).

I'm wanting to run this same program on a DEC alpha, a Sun ULTRA, an
HP9000 K370, and some kind of IBM box.

on HP unix, I get:

./xgcc -B./  -DIN_GCC   -g -I./include    -DNO_MEM (wrapping)
 -DNO_LONG_DOUBLE_IO -O0 -I. -c ./enquire.c
In file included from ./enquire.c:390:
include/stdio.h:279: unterminated `#if' conditional
In file included from /usr/include/sys/newsig.h:43,
                 from include/sys/signal.h:17,
                 from /usr/include/signal.h:5,
                 from ./enquire.c:402:

an so on for include/machine/save_state.h:879 and
include/sys/signal.h:459.
*** Error exit code 1.


on Digital Unix, I get:

gcc -DGPC -DIN_GCC   -g -O  -I. -I. -I../gcc-2.7.2.1 -I../gcc-2.7.2.1
-I../gcc-2.7.2.1/config
-DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/alpha-dec-osf3.2/2.7.2.1/include\"
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\"
-DLOCAL_INCLUDE_DIR=\"/usr/local/include\"
-DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/alpha-dec-osf3.2/2.7.2.1/sys-include\"
-DTOOL_INCLUDE_DIR=\"/usr/local/alpha-dec-osf3.2/include\"  -c `echo
./gpc-cccp.c | sed 's,^\./,,'`

In file included from
/usr/local/lib/gcc-lib/alpha-dec-osf2.1/2.6.3/include/time.h:195,
                 from gpc-cccp.c:104:
/usr/include/sys/timers.h:188: parse error before `clock_id'
/usr/include/sys/timers.h:189: parse error before `clock_id'
/usr/include/sys/timers.h:195: parse error before `clock_id'
/usr/include/sys/timers.h:214: parse error before `clock_id'
*** Exit 1
Stop.

Which is odd since it referred to the files in 2.6.3, which is the current
gcc on the machine.  (I don't have root access on this particular machine,
so I'm just trying to get by with compiling but not installing 2.7.2.1.
I may see if I can find an alpha where I can become root, and then retry.
I know that the times.h file is problematic for many packages.

also the file /usr/sys/include/sys/mount.h is owned by [161,100] on this
system, all others in the directory are [bin,bin] or [root,bin] !!

Anyway, I'd really appreciate help on any of these three platforms.
At this time  it's zero for three attempts and I have no pascal compiler.

Thanks,
John Miller


John Miller (miller@lclark.edu)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es