Compiling gcc-2.6.3 on Ultrix 4.2

From: Alan K.K. Kong <kkkong_at_ee.cuhk.hk>
Date: Mon, 06 Feb 95 16:22:17 -0800

Hi, everyone,

I tried to build the gnu compiler on our DECstation running Ultrix 4.2 and error
occured during compilation of the gnu CC compiler. My main concern is only
building the gnu C++ compiler on the workstation. However, it is recommended
in the 'INSTALL' file which comes with the package that it is better to build
the gnu CC compiler first.

The source files are in : /usr/app2/gcc-2.6.3
and I want to place the executables in : /usr/app2/gcc-ultrix.

So I ran : /usr/app2/gcc-2.6.3/configure --prefix=/usr/app2/gcc-ultrix
in /usr/app2/gcc-ultrix as stated in the 'INSTALL' file. Then I built the gnu cc
using:
         make bootstrap LANGUAGES=C BOOT_CFLAGS="-g -O"

and error occured during compilation. The compiler complained that the version.c
was not found. I have checked that version.c is in the source directory.

I wonder whether someone could give me advice.
 
To give a better picture on the messages I obtained, they are as follows:

make CC="cc -Wf,-XNg1500 -Olimit 3000 -O1" libdir=/usr/local/lib LANGUAGES=c
cc -Wf,-XNg1500 -Olimit 3000 -O1 -DIN_GCC -g -I. -I/usr/app2/gcc-2.6.3/.
-I/usr/app2/gcc-2.6.3/./config -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/mip
s-dec-ultrix4.2/2.6.3/include\" -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-
include\" -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" -DCROSS_INCLUDE_DIR=\
"/usr/local/lib/gcc-lib/mips-dec-ultrix4.2/2.6.3/sys-include\" -DTOOL_INCLUDE
_DIR=\"/usr/local/mips-dec-ultrix4.2/include\" -c `echo /usr/app2/gcc-2.6.3/.
/cccp.c | sed 's,^\./,,'`
cc -Wf,-XNg1500 -Olimit 3000 -O1 -DIN_GCC -g -I. -I/usr/app2/gcc-2.6.3/.
-I/usr/app2/gcc-2.6.3/./config -c /usr/app2/gcc-2.6.3/./cexp.c
cc -Wf,-XNg1500 -Olimit 3000 -O1 -c -DIN_GCC -g -I. -I/usr/app2/gcc-2.6.3
/. -I/usr/app2/gcc-2.6.3/./config version.c
cpp: error 0: No source file version.c
*** Error code 1
                                                                                
Stop.
*** Error code 1

Stop.

Thanks in advance.

Regards
Alan

-------------------------------------------------------------------------------
KONG Kwok-Kee, Alan | Email: kkkong_at_ee.cuhk.hk or
Department of Electronic Engineering | alan_at_ee.cuhk.hk
The Chinese University of Hong Kong | Tel: +852 2609-8286 (voice)
Shatin, N.T. | +852 2603-5558 (fax)
Hong Kong
-------------------------------------------------------------------------------
Received on Mon Feb 06 1995 - 03:24:51 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT