This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Help re: Installing GNU GCC on HPUX 10.20
- To: PAN92135 at pas dot mei dot co dot jp, bug-gcc at gnu dot org, help-gcc at prep dot ai dot mi dot edu
- Subject: Re: Help re: Installing GNU GCC on HPUX 10.20
- From: N8TM at aol dot com
- Date: Fri, 21 Jan 2000 13:32:42 EST
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