Help re: Installing GNU GCC on HPUX 10.20
N8TM@aol.com
N8TM@aol.com
Fri Jan 21 10:34:00 GMT 2000
Read the instructions at http://egcs.cygnus.com , including the installation-specific ones. While they are not as complete as you might wish, they will put you in a much better position.
>source files /opt/srcdir
> obj files /home/atul
> ./configure is OK
You need to run /opt/srcdir/configure from /home/atul, paying attention to options such as --prefix and --with-gnu-as
./make LANGUAGES=c
This may be a necessary first step, if you are starting from the hpux with no development utilities or gnu tools yet installed. Maybe your ./make implies you have gnu make in your current directory, which would be a satisfactory first step.
> " warning 480: -g option is only available with the >C/ANSI C product;
> ignored"
This warning is expected until you have built your preliminary copy of gcc, but it seems you may be trying to skip some steps. As with a native build for any target of gcc, one of the necessary steps will be
gmake LANGUAGES=c bootstrap-lean
or some equivalent. Among other things, this will make fixincludes, which gives gcc its own corrected copy of the hpux include files.
BTW, it would help future responders if you would tell which version of gcc you are installing and why, if it is not gcc-2.95.2.
Tim
tprince@computer.org
More information about the Gcc-bugs
mailing list