<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I don't understand.  If gmp and mpfr are installed (in the usual places like /usr/local) then gcc will happily find them.  If not, then you may need to tell configure where they are with an option.  I would be surprised if gcc's configure does not add the necessary ld library paths to the build of m3cgc1.   For me on Mac OS X "otool -L" (equivalent of ldd) shows:</div><div><br></div><div><div>hosking$ otool -L /usr/local/cm3/bin/cm3cg</div><div>/usr/local/cm3/bin/cm3cg:</div><div>        /usr/local/lib/libintl.3.dylib (compatibility version 8.0.0, current version 8.3.0)</div><div>        /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)</div><div>        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.0.0)</div><div>        /usr/local/lib/libmpfr.1.dylib (compatibility version 3.0.0, current version 3.0.0)</div><div>        /usr/local/gcc-4.3.0/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)</div><div><br></div><div>This cm3cg runs with both -m32 and -m64 switches to build both I386_DARWIN and AMD64_DARWIN on the same machine.</div></div><div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; 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-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; 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-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; 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-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; 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-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; 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-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; 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-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; 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-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; 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-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; 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-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><br></div></span></span></span></span></span></span></span></span></div></span></div><div><html>On Apr 17, 2008, at 11:51 PM, Jay wrote:</html><br class="Apple-interchange-newline"><blockquote type="cite"><span class="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; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div class="hmmessage" style="font-size: 10pt; font-family: Tahoma; ">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:<span class="Apple-converted-space"> </span><a href="mailto:m3commit@elegosoft.com">m3commit@elegosoft.com</a><br>> From:<span class="Apple-converted-space"> </span><a href="mailto:hosking@cs.purdue.edu">hosking@cs.purdue.edu</a><br>> To:<span class="Apple-converted-space"> </span><a href="mailto:jayk123@hotmail.com">jayk123@hotmail.com</a><br>> Subject: Re: [M3commit] CVS Update: cm3<br>> Date: Thu, 17 Apr 2008 22:03:29 -0400<br>><span class="Apple-converted-space"> </span><br>> I don't think you should need this.<br>><span class="Apple-converted-space"> </span><br>> On Apr 17, 2008, at 9:24 PM, Jay wrote:<br>><span class="Apple-converted-space"> </span><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<span class="Apple-converted-space"> </span><br>> > Tinderbox breaks.<br>> > Perhaps just add /usr/local/lib to LD_LIBRARY_PATH or something with<span class="Apple-converted-space"> </span><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<span class="Apple-converted-space"> </span><br>> > so, right?<br>> ><br>> > Granted, a) the source could be imported, small compared to gcc b)<span class="Apple-converted-space"> </span><br>> > could provide a .deb or such with a declared dependency and have apt-<span class="Apple-converted-space"> </span><br>> > get get the dependencies if they are missing. Should probably be<span class="Apple-converted-space"> </span><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:<span class="Apple-converted-space"> </span><a href="mailto:hosking@cs.purdue.edu">hosking@cs.purdue.edu</a><br>> >> To:<span class="Apple-converted-space"> </span><a href="mailto:jkrell@elego.de">jkrell@elego.de</a><br>> >> Date: Thu, 17 Apr 2008 13:09:47 -0400<br>> >> CC:<span class="Apple-converted-space"> </span><a href="mailto:m3commit@elegosoft.com">m3commit@elegosoft.com</a><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>><span class="Apple-converted-space"> </span><br></div></span></blockquote></div><br></body></html>