Operating System - HP-UX
1833796 Members
4764 Online
110063 Solutions
New Discussion

Re: problems with compiling gcc -3.2.3 on 11.11 64 bit

 
yair_2
Occasional Advisor

problems with compiling gcc -3.2.3 on 11.11 64 bit

Hello to all the gcc crackers.
i'm trying to build a gcc 3.2.3 on 11.11 64 bit using gmake and i'm getting this error :
"cc -c -DIN_GCC -DHAVE_CONFIG_H -I. -Icp -I. -I./cp -I./config -I./../include cp/call.c -o cp/call.o
cpp: "cp/cp-tree.h", line 32: error 4062: "You should be using 'make bootstrap' -- see installation instructions"

Can anybody tell me how to use the bootstrap option and how will it help me ??

yairmg
6 REPLIES 6
Brian Bergstrand
Honored Contributor

Re: problems with compiling gcc -3.2.3 on 11.11 64 bit

cd to the gcc root and type 'make bootstrap'. This compiles gcc with your existing compiler and then recompiles gcc with the new version. This is done so that gcc is compiled with the latest version of itself. This is gettting confusing... :)

Anyway, in order to bootstrap gcc from scratch you must have an existing binary compiler.

HTH.
harry d brown jr
Honored Contributor

Re: problems with compiling gcc -3.2.3 on 11.11 64 bit

I beleive you just do a

make bootstrap


live free or die
harry
Live Free or Die
harry d brown jr
Honored Contributor

Re: problems with compiling gcc -3.2.3 on 11.11 64 bit

have you tried:

http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-3.2.3/


live free or die
harry
Live Free or Die
H.Merijn Brand (procura
Honored Contributor

Re: problems with compiling gcc -3.2.3 on 11.11 64 bit

Full description available on my site (including the build scripts)

http://www.cmve.net/~merijn
https://www.beepz.com/personal/merijn/

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Robert-Jan Goossens
Honored Contributor

Re: problems with compiling gcc -3.2.3 on 11.11 64 bit

Lev Assinovsky
Frequent Advisor

Re: problems with compiling gcc -3.2.3 on 11.11 64 bit

Are you sure you want gcc 3.2.3?
The matter is g++ prior 3.3 doesn't
support SOM weak symbols. Therefor you will
be unable to use static members in templates.
I advise you gcc 3.3.1.
Sorry, if you are not going to use g++.
Lev