<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
/* when overriding, ld.so doesn't know where to find libraries */<BR>/* this is even more true if we want to move the binaries or */<BR>/* clean.. */<BR>
 <BR>
%if defined("pm3_version") <BR>%       /* Polytechnique de Montreal Modula-3 */<BR>% option("shared_lib","")<BR>%else <BR>% /* SRC Modula-3 */<BR>% m3_option ("<A href="mailto:-X2@-static">-X2@-static</A>@")<BR>%end<BR><BR>
 <BR>
which is the same problem we discussed here a bunch.<BR>
  To which there is no good solution, just various compromises.<BR>
  For the next (not current) release though I think all .so and executables should build (not just ship) into a common place.<BR>
  So $ORIGIN works, without having to ship.<BR>
 <BR>
 <BR>
They also have this interesting technique:<BR>
 <BR>
/* these are the packages that are part of this distribution */<BR>
override("prsparse",TOP)<BR>...<BR>
 <BR>
 <BR>
% override other libraries if they exist locally  (use not stale on each)<BR>
 <BR>
m3core = ROOT & SL & "m3-libs" & SL & "m3core"<BR>if not stale(m3core, m3core)<BR>  override("m3core", ROOT & SL & "m3-libs")<BR>end<BR>...<BR>
 <BR>
 <BR>
override should probably do the existance check if it doesn't already.<BR>
Though the idea of building stuff to a common directory I believe obsoletes this entire override thing.<BR>
 <BR>
 <BR>
 - Jay<BR>                                     </body>
</html>