Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!leah!itsgw!steinmetz!uunet!mmlai!burzio From: burzio@mmlai.UUCP (Tony Burzio) Newsgroups: comp.windows.x Subject: Re: compiling kaleid under HP-UX 6.2 Summary: X and HP Message-ID: <516@mmlai.UUCP> Date: 11 Mar 89 17:19:56 GMT References: <2879@stpstn.UUCP> Organization: Martin Marietta Labs, Baltimore, MD Lines: 33 In article <2879@stpstn.UUCP>, aad@stpstn.UUCP (Anthony A. Datri) writes: > When I try to compile kaleid from comp.sources.x v03i016 on an HP > 9000/320 running HP-UX 6.2, I get > > dimension table overflow, try using cc -Wc, -Nd > > and when I try that, it tells me that -Wd is not longer supported, and > suggests an alternative. When I try the alternative, I get the dimension > table message. These same sources compile fine on a Sun 4 under sunos 4.0. Here is a little shell script I use to compile X11 programs on my HP. The correct compiler options are in the cc line; The stack sizes work for most X programs, but you can increase them on an overflow. I have the kaleid program running just fine on my 9000/370 (HP-UX 6.2) TurboSRX. # PROG=$1 shift echo "Compiling $PROG.c" cc -O -Wc,-Nd3000 -Wc,-Ns3000 -o $PROG $PROG.c -lXw -lXt -lX11 if [ $? -eq 0 ] then echo "Executing $PROG" $PROG $* else echo "Compilation aborted." fi ********************************************************************* Tony Burzio * Now what are we to do with all these Martin Marietta Labs * VT100s? Boat anchors perhaps? mmlai!burzio@uunet.uu.net * *********************************************************************