tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Installing gcc 3.0.2 in v5.1A
@ 2001-11-22  1:17 Sung Moon Kang
  0 siblings, 0 replies; only message in thread
From: Sung Moon Kang @ 2001-11-22  1:17 UTC (permalink / raw)
  To: tru64-unix-managers

Well, this seems to be a problem that has afflicted many others;
unfortunately, I can't seem to dig up many summaries.

After spending several hours, I finally managed to start copmiling
gcc 3.0.2.  I had to uninstall Compaq C Compiler v6.4, gcc/g++
v2.9-gnupro-99r1 (from the OS install CDs), and manually remove
all remaining 'stuff' from previous gcc installs.  I also installed
automake 1.5 (altho I'm not sure if that helped any).

Anyway, I found one suggestions from the listserv which seemed to
help:  I created a script file /sbin/as (chmoded properly to be 
executable) which basically says:

#!/bin/sh
/usr/bin/as -oldas $*

Then I configured gcc with "../gcc-3.0.2/configure --with-as=/sbin/as".
That goes fine.

Then I use GNU Make 3.79.1 (executed as "gmake") to compile the
programs.  Everything seems to go fine, until I get:

gmake: *** [backspace.o] Error 1

and everything errors out afterwards.

I did some digging, and it seems that the fault is in:

/build/alphaev56-dec-osf5.1/libf2c/libI77

If I use the Makefile there, I get:

/temp/build/gcc/xgcc -B/temp/build/gcc/ -B/usr/local/alphaev5\
6-dec-osf5.1/bin/ -B/usr/local/alphaev56-dec-osf5.1/lib/ -isystem 
/usr/local/al\
phaev56-dec-osf5.1/include -c -DSkip_f2c_Undefs -DAllow_TYQUAD -I. 
-I../../../.\
./gcc-3.0.2/libf2c/libI77 -I.. 
-I../../../../gcc-3.0.2/libf2c/libI77/..  -DHAVE\
_CONFIG_H -g -mieee ../../../../gcc-3.0.2/libf2c/libI77/backspace.c
In file included from ../../../../gcc-3.0.2/libf2c/libI77/fio.h:1,
                  from ../../../../gcc-3.0.2/libf2c/libI77/backspace.c:4:
/temp/build/gcc/include/stdio.h:241: parse error before "__va_list"
/temp/build/gcc/include/stdio.h:242: parse error before "__va_list"
/temp/build/gcc/include/stdio.h:243: parse error before "__va_list"
gmake: *** [backspace.o] Error 1

This is where all this is pretty much ancient Greek to me, so I don't know
what's wrong and how to go about fixing it.

The machine I'm trying to install this on is a Digital Personal
Workstation 433au running Tru64 UNIX v5.1A (Rev. 1885) (Patch Kit 3).

I can't discount the possibility that I'm doing something *really*
dumb.  Please someone point that out to me if that is the case.

Many thanx in advance.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-11-22  1:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-22  1:17 Installing gcc 3.0.2 in v5.1A Sung Moon Kang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox