<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I have replaced these with:<BR>
 <BR>
 <BR>
<A href="http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-min-PA32_HPUX-d5.7.1.tar.gz">http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-min-PA32_HPUX-d5.7.1.tar.gz</A><BR><A href="http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-min-PA32_HPUX-d5.7.1.tar.lzma">http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-min-PA32_HPUX-d5.7.1.tar.lzma</A><BR>
 <BR>
<BR><A href="http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-std-PA32_HPUX-d5.7.1.tar.gz">http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-std-PA32_HPUX-d5.7.1.tar.gz</A><BR><A href="http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-std-PA32_HPUX-d5.7.1.tar.lzma">http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-std-PA32_HPUX-d5.7.1.tar.lzma</A><BR><BR>
These are "completely rebuilt", not just "repackaged".<BR>
 <BR>
and also made sure that all the non-NT386 platforms have .tar.gz and .tar.lzma, and no .tar.bz2.<BR>
 <BR>
 <BR>
Roughly/statistically speaking:<BR>
 <BR>
 <BR>
.lzma is "always" much smaller than .gz, doesn't take too much longer to decompress, takes much longer to compress.<BR>
.bz2 is "always" in between in size, and takes the longest to compress and decompress.<BR>
lzma is the least widely deployed, gzip is the most widely deployed, bzip2 is somewhere in between. lzma is written in C++, which may negatively impact one's ability to build it.<BR>
<BR> - Jay<BR>
<BR> <BR>> From: jay.krell@<BR>> To: m3devel@<BR>> Subject: PA32_HPUX available<BR>> Date: Mon, 2 Mar 2009 15:48:44 +0000<BR>> <BR>> <BR>> http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-PA32_HPUX-1.tar.gz <BR>> http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-PA32_HPUX-1.tar.lzma <BR>> <BR>> <BR>> Here is a current build of PA32_HPUX, including all of "std".<BR>> <BR>> <BR>> The system builds itself and various gui apps startup.<BR>> Pthreads are used. User threads are not implemented.<BR>> The man page for get/set/make/swapcontext says they won't necessarily stay compatible.<BR>> <BR>> <BR>> Dynamic linking is supported and used.<BR>> <BR>> <BR>> This should match the current source tree, except my change to cm3cfg.common<BR>> isn't reflected here -- the backend is not itself optimized.<BR>> <BR>> <BR>> It requires the GNU C compiler and assembler -- gcc and gas. <BR>> <BR>> <BR>> It does not require, and probably won't work with, the GNU linker.<BR>> e.g. extract binutils and then rm -rf intl gold ld elfcpp binutils,<BR>> leaving just like libiberaty, bfd, opcodes, gas,<BR>> and then build it, or use -disable-x to not build those directories,<BR>> or build it all, but instead of install, just copy gas, it's just one file.<BR>> <BR>> <BR>> It might require getting up to date patches esp. for ld.<BR>> I was not able to build libstdc++ without patching ld, but<BR>> building libstdc++ is not necessary for Modula-3. It is a C++ thing.<BR>> <BR>> <BR>> I'm using HP-UX 11iv1 aka 11.11 (this is two versions out of date,<BR>> there is v2 and v3).<BR>> <BR>> <BR>> The cm3.cfg file in the archive delegates to<BR>> $CM3_ROOT/m3-sys/cminstall/src/config-no-install/PA32_HPUX.<BR>> and that file is somewhat specific to my configuration.<BR>> I can see about making it just use $PATH.<BR>> Problem is, on this sytem gcc doesn't support multilibs/-m32/-m64,<BR>> so you really need two separate "prefixes" and paths to work with<BR>> 32bit and 64bit targets, so I use /usr/local/32 and /usr/local/64.<BR>> <BR>> <BR>> It is possible to bootstrap to a good working system from<BR>> the bundled compiler, but you have to go through gcc 3.3.6 first.<BR>> <BR>> <BR>> There are my full paths in these binaries:<BR>> /cm3/lib/libm3core.sl.5 and such<BR>> <BR>> but you can set SHLIB_PATH to a colon delimited directory<BR>> that includes where you install to.<BR>> <BR>> <BR>> I haven't figured out yet how to omit the paths.<BR>> Perhaps we should use "$ORIGIN/../lib"?<BR>> <BR>> <BR>> Also, the stock HP-UX system does contain X or OpenGL headers/libs,<BR>> but they are a free download. Search the web.<BR>> At least the X headers/libs come with the unbundled compiler.<BR>> <BR>> mentor does not work.<BR>> It says: "*** Cannot create TCP port".<BR>> If $DISPLAY is not set correctly, the errors are not consistent.<BR>> <BR>> <BR>> - Jay</body>
</html>