<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Just take the dependency on libgmp.so and libmpfr.so?<br>The dependency on libmpfr.so broke Tinderbox, in a larger changable context. Just change LD_LIBRARY_PATH, or figure out -rpath, or install to /usr instead of /usr/local or /usr/contrib??<br><br> - Jay<br><br><br>> CC: m3commit@elegosoft.com<br>> From: hosking@cs.purdue.edu<br>> To: jayk123@hotmail.com<br>> Subject: Re: [M3commit] CVS Update: cm3<br>> Date: Thu, 17 Apr 2008 22:03:29 -0400<br>> <br>> I don't think you should need this.<br>> <br>> On Apr 17, 2008, at 9:24 PM, Jay wrote:<br>> <br>> ><br>> > Previous cm3cg (on birch) is/was only dependent on:<br>> ><br>> > % ldd /usr/local/cm3/bin/cm3cg<br>> >        linux-gate.so.1 =>  (0xffffe000)<br>> >        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e83000)<br>> >        /lib/ld-linux.so.2 (0xb7fc3000)<br>> ><br>> > we shouldn't add libgmp.so and libmpfr.so to this, right?<br>> > At least not libmpfr.so. That dependency at least was causing  <br>> > Tinderbox breaks.<br>> > Perhaps just add /usr/local/lib to LD_LIBRARY_PATH or something with  <br>> > -rpath?<br>> > I poked around a little with -rpath. I'd'thunk it'd be more automatic.<br>> ><br>> > Ok for building m3cc to have extra dependencies, but the result less  <br>> > so, right?<br>> ><br>> > Granted, a) the source could be imported, small compared to gcc b)  <br>> > could provide a .deb or such with a declared dependency and have apt- <br>> > get get the dependencies if they are missing. Should probably be  <br>> > building .deb files anyway. Yeah, I know I'm late to this party.<br>> > If everyone statically linked, everything would explode in size.<br>> ><br>> > - Jay<br>> ><br>> >> From: hosking@cs.purdue.edu<br>> >> To: jkrell@elego.de<br>> >> Date: Thu, 17 Apr 2008 13:09:47 -0400<br>> >> CC: m3commit@elegosoft.com<br>> >> Subject: Re: [M3commit] CVS Update: cm3<br>> >><br>> >> It should just build. Not sure what you are trying to achieve by<br>> >> static linking.<br>> >><br>> >> On Apr 17, 2008, at 7:31 AM, Jay Krell wrote:<br>> >><br>> >>> CVSROOT: /usr/cvs<br>> >>> Changes by: jkrell@birch. 08/04/17 07:31:36<br>> >>><br>> >>> Modified files:<br>> >>> cm3/m3-sys/m3cc/src/: m3makefile<br>> >>><br>> >>> Log message:<br>> >>> statically link libmpfr.a by hook and by crook, see if I can get<br>> >>> this to work on birch..<br>> >><br>> <br></body>
</html>