This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc for HPUX 10.20


On Monday 03 June 2002 12:37, Ferreira, Jason  C. wrote:
> I have had no success in trying to find gcc for HPUX 10.20.  The only thing
> I have been able to find is the binary (depot file) for HPUX 11.00 and the
> source code for gcc.
>
> Do you know of any sites that have gcc for HPUX 10.20 or will I have to
> rebuild gcc from the source code on the target machine.  If I have to
> rebuild on the target machine, then what are some of the
> problems/difficulties that you have encountered when doing this?
>
If you had the hpux full std C compiler installed, gcc would build nearly 
"out of the box," requiring only the substitution of gnu make, gcc's 
environment variables set to use gnu m4 rather than hpux m4, and maybe an 
update to the old gnu patch.  If you had bare bones hpux-10.20, and didn't 
have write access to the directories where a pre-built gcc would install, you 
had to build gnu make, and then a bootstrap gcc, using the primitive hpux C, 
then build and install bison and flex, after which you could do a full 
bootstrap build of gcc.  The reason for the latter is that gcc assumes that a 
system which has lex library installed but no flex will have a full 
installation of lex, which is not a correct assumption on hpux.  
I note from reading today's latest how-to's that hpux make still is not a 
posix make, but there may be a posix and a BSD make also available, one of 
which ought to be more suitable than the hpux version.

-- 
Tim Prince


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]