[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
wginstall with HPUX
We were having trouble with compiling during wginstall with HPUX 10.20
Modified the Makefile to add hpux as an option as below.
This seems to work, though I am not an expert.
------------------------- Makefile addition ----------------------------
hpux:
$(OSFCC) -D_HPUX_SOURCE -Aa -O -o lib/httpget lib/httpget.c
$(OSFCC) -D_HPUX_SOURCE -Aa -O -o lib/html2txt lib/html2txt.c
------------------------------------------------------------------------
Also added hpux O.S. to wginstall.pl as below.
----------------------- wginstall.pl addition --------------------------
# Get operating system -- don't leave out hpux! ## edited 8/23/99
$LEGALOS = 'linux osf sunos solaris hpux';
$DEFAULTOS = 'hpux';
$PLATFORM = $ARGV[1] || $^O || '';
if ($PLATFORM eq '') {
$PLATFORM = $DEFAULTOS;
$_ = `uname -s` || '';
tr/A-Z/a-z/;
/^linux/ && ($PLATFORM = "linux");
/^osf/ && ($PLATFORM = "osf");
/^sunos/ && ($PLATFORM = "sunos");
/^solaris/ && ($PLATFORM = "solaris");
/^hpux/ && ($PLATFORM = "hpux");
}
----------------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Art Brittain
brittain@dpg.nec.gmeds.com
GM Desert Proving Ground
Mesa, Arizona
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~