<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">I mean for the "regular" Modula-3 "app" stuff, not cm3cg.<br><br>It looks like it is already static, good.<br><br>1) http://gcc.gnu.org/ml/gcc/2006-10/msg00141.html<br><br>2) The current code:<br><br>m3-sys/m3cc/gcc/Makefile.in:<br><br>configure-gmp: <br>...<br> echo Configuring in $(HOST_SUBDIR)/gmp; \<br>...<br> $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \<br> --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \<br> || exit 1<br>@endif gmp<br><br><br>configure-mpfr: <br>...<br> echo Configuring in $(HOST_SUBDIR)/mpfr; \<br>...<br> $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \<br> --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp \<br> || exit 1<br>@endif mpfr<br><br><br>Let me test it and then I'll remove the Quake code related to this.<br><br><br> - Jay<br></div><br><br><blockquote><hr id="EC_stopSpelling">CC: m3devel@elegosoft.com<br>From: hosking@cs.purdue.edu<br>To: jayk123@hotmail.com<br>Subject: Re: [M3devel] a hope for dynamic linking!<br>Date: Sat, 19 Apr 2008 10:50:04 -0400<br><br><div><span class="EC_Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style=""><span class="EC_Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span class="EC_Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span class="EC_Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span class="EC_Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span class="EC_Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span class="EC_Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span class="EC_Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span class="EC_Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>Hold on! I am strongly in favor of static linking for cm3cg/m3cgc1 so that it is a standalone executable. Should be easy enough with gcc configure.</div></span></span></span></span></span></span></span></span></div></span> </div><br><div>On Apr 19, 2008, at 10:31 AM, Jay wrote:<br class="EC_Apple-interchange-newline"><blockquote><span class="EC_Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div class="EC_hmmessage" style="font-size: 10pt; font-family: Tahoma;"><div style="text-align: left;"><a href="http://www.eyrie.org/%7Eeagle/notes/rpath.html" target="_blank">http://www.eyrie.org/~eagle/notes/rpath.html</a><br><a href="http://people.debian.org/%7Eche/personal/rpath-considered-harmful" target="_blank">http://people.debian.org/~che/personal/rpath-considered-harmful</a><br><br><br>but yet:<br><br><a href="http://www.scons.org/wiki/UsingOrigin" target="_blank">http://www.scons.org/wiki/UsingOrigin</a><br><br></div>So you can either colocate executables and .sos in the same directory or, like<br> /cm3/bin<span class="EC_Apple-converted-space"> </span><br> /cm3/lib/m3core.so<span class="EC_Apple-converted-space"> </span><br><br>and vary the install root.<br><br>We should be using this where available -- Linux, Solaris, Irix.<br>Too bad not supported elsewhere.<br>On Windows you can colocate; the .exe's directory is always searched.<br><br> - Jay<br></div></span></blockquote></div><br></blockquote></body>
</html>