Operating System - Tru64 Unix
1754932 Members
1922 Online
108827 Solutions
New Discussion юеВ

building gcc 3.4.3 on tru64 5.1

 
gani
New Member

building gcc 3.4.3 on tru64 5.1

Dear gurus,

First time handling a tru64 machine, I've got an order to build gcc/g++. I have Compaq C Compiler and GNU make to do the job. Using the gcc installation guide, I ran "configure" from a different path. When running "gmake bootstrap", I got error:

checking whether canonicalize_file_name must be declared... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for working strncmp... yes
updating cache ./config.cache
configure: creating ./config.status
grep: conftest.defines: No such file or directory
grep: conftest.undefs: No such file or directory
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
cat: cannot open ./confstat354293-/in
config.status: executing default commands
gmake[1]: Entering directory `/disk5/ccdb/source/gcc-compile/libiberty'
gmake[1]: *** No rule to make target `all'. Stop.
gmake[1]: Leaving directory `/disk5/ccdb/source/gcc-compile/libiberty'
gmake: *** [all-libiberty] Error 2

Am I missing something?

Thanks very much.

Regards,
Gani
4 REPLIES 4
Michael Schulte zur Sur
Honored Contributor

Re: building gcc 3.4.3 on tru64 5.1

Gani,

what do you mean by different path? Have you done the installation according to the readme file? What is bootstrap?

greetings,

Michael
gani
New Member

Re: building gcc 3.4.3 on tru64 5.1

Hi Michael,

I'm sorry, I should've typed "directory" instead of "path". And yes, I read the documentation for building the gcc compiler from gcc.gnu.org. Following the instructions,
I created a different directory to configure and build the compiler, and I ran the configure script. No errors returned.

Next step, I issued "gmake bootstrap" as describe in http://gcc.gnu.org/install/build.html to build a native compiler. It stopped with the errors.

Regards,
Gani
Mario Stargard
Advisor

Re: building gcc 3.4.3 on tru64 5.1

You need to build the newer versions of gcc with gcc. Build an older version first, like 2.8, and then use it to build the newer version.

Mario
Ralf Puchner
Honored Contributor

Re: building gcc 3.4.3 on tru64 5.1

gcc is not directly supported. Please use the delivered version within the development toolkit or on the open source cd-rom.

If you'll try to recompile an original gcc version please use the forum within the gcc organisation website. HP does not support gcc directly!

Help() { FirstReadManual(urgently); Go_to_it;; }