<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><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: dragisha@m3w.org<br>Date: Wed, 13 Nov 2013 10:03:15 +0100<br>CC: m3devel@elegosoft.com<br>To: jay.krell@cornell.edu<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;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;"><div style="word-wrap:break-word;"><span class="ecxApple-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;"><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;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;"><div style="word-wrap:break-word;"><span class="ecxApple-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;"><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: <a href="mailto:dragisha@m3w.org">dragisha@m3w.org</a> <br>Date: Sun, 10 Nov 2013 18:48:22 +0100 <br>To: <a href="mailto:m3devel@elegosoft.com">m3devel@elegosoft.com</a> <br>Subject: [M3devel] AMD64_DARWIN with OSX Mavericks <br><br>Anybody doing it? <br><br>TIA, <br>-- <br>Dragiša Durić <br><a href="mailto:dragisha@m3w.org">dragisha@m3w.org</a><<a href="mailto:dragisha@m3w.org">mailto:dragisha@m3w.org</a>> <span class="ecxApple-tab-span" style="white-space:pre;"> </span><span class="ecxApple-tab-span" style="white-space:pre;"> </span> <span class="ecxApple-tab-span" style="white-space:pre;"> </span> <span class="ecxApple-tab-span" style="white-space:pre;"> </span><span class="ecxApple-tab-span" style="white-space:pre;"> </span> </blockquote></blockquote></div><br></div></div> </div></body>
</html>