<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I do repeatedly wonder if we should be a thin layer over automake/autoconf/pkg-config/libtool. I look into them every so often. What bugs me, maybe not pkg-config, is that they seem slow and have to generate files. I want something that usually makes fast decisions for every run. Optionally recording them in a file for bootstrapping or overridability. Cm3 was ahead of its time, kinda, but those tools solve much of the same problem, with other people maintaining them and more "dynamism"/"manifestation" -- I can't think of the word, but throw together a random posixish platform and autoconf can probe it and piece it together. There is no need to record static platform definitions and local configuration details are inferred/deduced at build-time, and there is good cross build support.</div><div><br></div><div><br></div><div>I've considered coding up similar in M3/Python/C/C++. </div><div><br></div><div><br></div><div>I do put some runtime tests in the config files. I suppose pkg-config is what we miss most, and we could read its files in cm3??? I.e. this is the part of the config files that are the most site-specific, and worse, need to change as surrounding packages are installed/uninstalled?</div><div><br></div><div><br></div><div>What autoconf is "really" for, we get very far with light dependencies ("the functions are assumed all present"), light ifdefing (m3core's preemptive suspend), and light "practicality" (I.e. picking out integer types).</div><div><br></div><div><br></div><div>Automake we basically have our own.</div><div><br></div><div><br></div><div>Libtool I believe works through static knowledge, like us.</div><div><br></div><div><br></div><div>And pkg-config, we miss out on largely.</div><div><br></div><div><br></div><div> - Jay</div><div><br>On Nov 13, 2013, at 2:25 AM, Dragiša Durić <<a href="mailto:dragisha@m3w.org">dragisha@m3w.org</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html charset=windows-1250">Site is <a href="https://developer.apple.com/downloads">https://developer.apple.com/downloads</a>, package is named “Command Line Tools (OS X Mavericks) for Xcode - Late October Oct 22, 2013” and cm3 I’ve used since Snow Leopard, all through Lion… works again without previous hack.<div><br></div><div>Xcode I have installed is version 4.6.x, and cm3 works as always.<br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; font-family: Candara; border-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-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: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-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: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">--</div></span></div></span><span class="Apple-style-span" style="font-family: Helvetica; ">Dragiša Durić</span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-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: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-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: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><a href="mailto:dragisha@m3w.org">dragisha@m3w.org</a></div><div><br></div></div></span></div></span></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On 13 Nov 2013, at 11:08, Dragiša Durić <<a href="mailto:dragisha@m3w.org">dragisha@m3w.org</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=iso-8859-2"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">There is probably easier solution, I am installing command line devel tools right now and then I will try to simplify this.<br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; font-family: Candara; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">--</div></span></div></span><span class="Apple-style-span" style="font-family: Helvetica; ">Dragiša Durić</span><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><a href="mailto:dragisha@m3w.org">dragisha@m3w.org</a></div><div><br></div></div></span></div></span></span><br class="Apple-interchange-newline">
</div>
<br><div style=""><div>On 13 Nov 2013, at 10:53, Jay K <<a href="mailto:jay.krell@cornell.edu">jay.krell@cornell.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="hmmessage" style="font-size: 12pt; font-family: Calibri; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div dir="ltr">Is that really needed?<br><br>Doesn't this work?<br><br>hello.c:<br>#include <stdio.h><br>int main() { return !!printf("hello\n"); }<br><br>cc hello.c<br><br>If that works, gradually expand it to reference more symbols, i.e. pthreads, the mach suspend/resume/getcontext functions (see m3-libs/m3core/src/thread/PTHREAD/ThreadApple.c or such)<br><br> - Jay<br><br><br><br><br><div><hr id="stopSpelling">Subject: Re: [M3devel] AMD64_DARWIN with OSX Mavericks<br>From: <a href="mailto:dragisha@m3w.org">dragisha@m3w.org</a><br>Date: Wed, 13 Nov 2013 10:03:15 +0100<br>CC: <a href="mailto:m3devel@elegosoft.com">m3devel@elegosoft.com</a><br>To: <a href="mailto:jay.krell@cornell.edu">jay.krell@cornell.edu</a><br><br>I will bootstrap new version(s) as per your instructions ASAP, but until then, this is a change I made to config/Darwin.common<div><br></div><div><div style="font-size: 13px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">SYSTEM_LIBS = {</div><div style="font-size: 13px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);"> "LIBC" : [ "-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/lib",</div><div style="font-size: 13px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);"> "-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/lib/system"</div><div style="font-size: 13px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);"> ],</div><div style="font-size: 13px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);"> "LEX-YACC" : [ "-ll" ],</div><div style="font-size: 13px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);"> "FLEX-BISON" : [ "-lfl" ],</div><div style="font-size: 13px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);"> "OPENGL" : [ "-Wl,-dylib_file," & LIBGL_DYLIB & ":" & LIBGL_DYLIB,</div><div style="font-size: 13px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);"> "-L/usr/X11R6/lib", "-lGLU", "-lGL", "-lXext" ],</div><div style="font-size: 13px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);"> "TCP" : [ ]</div><div style="font-size: 13px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">% below: X11, ODBC, POSTGRES95, MOTIF</div><div style="font-size: 13px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">}</div><div><span class="ecxApple-style-span" style="border-collapse: separate; font-family: Candara; border-spacing: 0px;"><span class="ecxApple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><div style="word-wrap: break-word;"><span class="ecxApple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><div style="word-wrap: break-word;"><br></div><div style="word-wrap: break-word;">My current AMD64_DARWIN configuration continues to work.</div><div style="word-wrap: break-word;">--</div></span></div></span><span class="ecxApple-style-span" style="font-family: Helvetica;">Dragiša Durić</span><span class="ecxApple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><div style="word-wrap: break-word;"><span class="ecxApple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><div style="word-wrap: break-word;"><div><a href="mailto:dragisha@m3w.org">dragisha@m3w.org</a></div><div><br></div></div></span></div></span></span><br class="ecxApple-interchange-newline"></div><br><div><div>On 11 Nov 2013, at 08:09, Jay K <<a href="mailto:jay.krell@cornell.edu">jay.krell@cornell.edu</a>> wrote:</div><br class="ecxApple-interchange-newline"><blockquote>I'm still hanging back on a version that supports PowerPC/Rosetta. :) <br><br> Our system is very portable. <br> Consider helloWorld. And users of pthreads (or Win32 threads). <br><br> And we hope/trust Apple and co. to maintain a certain level of compatibility. <br><br> For example. the HPUX man pages decree that get/set/make/swapcontext may <br> not be compatible across releases. We use them, sometimes, for user threads only. <br><br><br>If you find there is any problem, please let us know.<br>Anything you find is likely surmountable by a cross build.<br><br><br> - Jay<br><br>________________________________<br><blockquote>From:<span class="Apple-converted-space"> </span><a href="mailto:dragisha@m3w.org">dragisha@m3w.org</a><span class="Apple-converted-space"> </span><br>Date: Sun, 10 Nov 2013 18:48:22 +0100<span class="Apple-converted-space"> </span><br>To:<span class="Apple-converted-space"> </span><a href="mailto:m3devel@elegosoft.com">m3devel@elegosoft.com</a><span class="Apple-converted-space"> </span><br>Subject: [M3devel] AMD64_DARWIN with OSX Mavericks<span class="Apple-converted-space"> </span><br><br>Anybody doing it?<span class="Apple-converted-space"> </span><br><br>TIA,<span class="Apple-converted-space"> </span><br>--<span class="Apple-converted-space"> </span><br>Dragiša Durić<span class="Apple-converted-space"> </span><br><a href="mailto:dragisha@m3w.org">dragisha@m3w.org</a><<a href="mailto:dragisha@m3w.org">mailto:dragisha@m3w.org</a>></blockquote></blockquote></div></div></div></div></div></blockquote></div><br></div></blockquote></div><br></div></div></blockquote></body></html>