Anyone got any experience with a Macintelsh and Stackless?<br><br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Rob Hardin</b> &lt;<a href="mailto:rob.hardin@gmail.com">
rob.hardin@gmail.com</a>&gt;<br>Date: Apr 30, 2007 12:57 AM<br>Subject: Stackless 2.5.1c1 on OS X<br>To: Richard Tew &lt;<a href="mailto:richard.m.tew@gmail.com">richard.m.tew@gmail.com</a>&gt;<br><br></span>Richard,<br><br>
I thought to give the compile a try on my brand new MacBook (intel<br>core 2 duo) and hit the following snag;<br><br>gcc-4.0 -c -fno-strict-aliasing -DSTACKLESS_FRHACK=0 -Wno-long-double<br>-no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall
<br>-Wstrict-prototypes&nbsp;&nbsp;-I. -I./Include -I./Stackless&nbsp;&nbsp; -DPy_BUILD_CORE<br>-fomit-frame-pointer -O2 -I. -o Stackless/core/slp_transfer.o<br>./Stackless/core/slp_transfer.c<br>./Stackless/core/slp_transfer.c: In function &#39;slp_transfer&#39;:
<br>./Stackless/core/slp_transfer.c:149: warning: control may reach end of<br>non-void function &#39;slp_switch&#39; being inlined<br>./Stackless/platf/switch_x86_unix.h:37: error: PIC register &#39;ebx&#39;<br>clobbered in &#39;asm&#39;
<br>make: *** [Stackless/core/slp_transfer.o] Error 1<br><br>When I see assembly I get flash backs of CS340 and an uncontrollable<br>urge to cry in some dark closet (took the class from the guy who wrote<br>the text book, lesson learned)--so I came promptly to a complete stop.
<br>Configure seemed to pickup mac okay and go through the proper routine,<br>so that has thrown me off. Shall I try an older version of gcc? If I<br>think of something in the next few days I will give it another go, but<br>
with the work week getting ready to begin that might be optimistic.<br>Only brought this to your attention since I didn&#39;t see any other mac<br>users post in the list archive.<br><br>Best regards,<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rob<br><br>
<br><br>NB : While I was re-reading to send this, I thought about your message<br>on the <a href="http://configure.in">configure.in</a> file. I wonder if the mac stuff is still geared<br>toward powerpc (which might explain the complaint about registers).
<br>I&#39;ll look into that when I find some free time.<br>