From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075317506389.tru64-unix-managers.marc@archive.invalid> From: "Alan K.K. Kong" Date: Tue, 07 Feb 1995 00:22:17 +0000 To: tru64-unix-managers Subject: Compiling gcc-2.6.3 on Ultrix 4.2 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075317506389 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@ee.cuhk.hk or Department of Electronic Engineering | alan@ee.cuhk.hk The Chinese University of Hong Kong | Tel: +852 2609-8286 (voice) Shatin, N.T. | +852 2603-5558 (fax) Hong Kong -------------------------------------------------------------------------------