[9fans] OSX lion + libthread
i never could get libthreaded applications to run properly in OSX Lion. i've tried with both XCode 4.1 and 4.2. however, disabling -O2 seems to do the trick. go figure. haven't tried that on XCode 4.1-- but would be curious to hear results. marius. ¶ diff -r 8735d7708a1b bin/9c --- a/bin/9cTue Oct 11 09:34:25 2011 -0400 +++ b/bin/9cTue Oct 11 23:04:58 2011 -0700 @@ -5,7 +5,6 @@ { cc=${CC9:-gcc} ngflags= \ - -O2 \ -c \ -Wall \ -Wno-parentheses \
Re: [9fans] OSX lion + libthread
that seems to do the trick; i've tried 9term, acme, sam and all seem to work. disabling the -O2 and following Andrey's instructions from Sept. 6th results in a successful build. anyone has an educated guess which of the optimizations under -O2 (below) is the culprit? http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#Optimize-Options -Skip On Tue, Oct 11, 2011 at 11:06 PM, marius a. eriksen mar...@monkey.org wrote: i never could get libthreaded applications to run properly in OSX Lion. i've tried with both XCode 4.1 and 4.2. however, disabling -O2 seems to do the trick. go figure. haven't tried that on XCode 4.1-- but would be curious to hear results. marius. ¶ diff -r 8735d7708a1b bin/9c --- a/bin/9c Tue Oct 11 09:34:25 2011 -0400 +++ b/bin/9c Tue Oct 11 23:04:58 2011 -0700 @@ -5,7 +5,6 @@ { cc=${CC9:-gcc} ngflags= \ - -O2 \ -c \ -Wall \ -Wno-parentheses \
Re: [9fans] cocoa devdraw
I tried what mauris eriksen suggested (drop -O2 in 9c) and it now compiles with Xcode 4.1 as well. A big Thank You to all involved! -Skip On Mon, Sep 26, 2011 at 9:34 AM, Russ Cox r...@swtch.com wrote: Thanks to heroic effort by David Jeannot, there is a new Cocoa-based OS X devdraw that seems to work well enough that I made it the default even on Snow Leopard. If you do the usual hg pull -u; ./INSTALL you'll get it. I think the only pending Lion issue now is that people using Xcode 4.1 don't have working threads. I haven't tracked that down yet. I suspect the getcontext/setcontext routines in that Xcode are just broken. Russ
Re: [9fans] OSX lion + libthread
I tried recompiling just libthread, acme but still got crashes. full ./INSTALL resulted in a working acme. this is on 4.2.
Re: [9fans] OSX lion + libthread
also, i used xcode 4.1 On Wed, Oct 12, 2011 at 12:05 AM, Skip Tavakkolian skip.tavakkol...@gmail.com wrote: that seems to do the trick; i've tried 9term, acme, sam and all seem to work. disabling the -O2 and following Andrey's instructions from Sept. 6th results in a successful build. anyone has an educated guess which of the optimizations under -O2 (below) is the culprit? http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#Optimize-Options -Skip On Tue, Oct 11, 2011 at 11:06 PM, marius a. eriksen mar...@monkey.org wrote: i never could get libthreaded applications to run properly in OSX Lion. i've tried with both XCode 4.1 and 4.2. however, disabling -O2 seems to do the trick. go figure. haven't tried that on XCode 4.1-- but would be curious to hear results. marius. ¶ diff -r 8735d7708a1b bin/9c --- a/bin/9c Tue Oct 11 09:34:25 2011 -0400 +++ b/bin/9c Tue Oct 11 23:04:58 2011 -0700 @@ -5,7 +5,6 @@ { cc=${CC9:-gcc} ngflags= \ - -O2 \ -c \ -Wall \ -Wno-parentheses \
Re: [9fans] copying fossil filesystem to a bigger disk
fossil/conf /dev/sdE0/fossil fossil.conf fossil/conf -w /dev/sdE0/fossil fossil.conf This was exactly what I needed. Thank you! My migration from old to new drive is now complete.
[9fans] Sad News
Hi, Here is a sad news: RIP Dennis Ritchie, 70, Author Of “C,” Co-Author Of UNIX Computer Language (2’19″) http://moviecitynews.com/2011/10/rip-dennis-ritchie-70-author-of-c-co-author-of-unix-computer-language-219/ Regards dharani
Re: [9fans] Sad News
https://plus.google.com/u/0/101960720994009339267/posts/ENuEDDYfvKP?hl=en On Wed, Oct 12, 2011 at 10:29 PM, Tharaneedharan Vilwanathan vdhar...@gmail.com wrote: Hi, Here is a sad news: RIP Dennis Ritchie, 70, Author Of “C,” Co-Author Of UNIX Computer Language (2’19″) http://moviecitynews.com/2011/10/rip-dennis-ritchie-70-author-of-c-co-author-of-unix-computer-language-219/ Regards dharani