9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: marius@monkey.org (marius a. eriksen)
Subject: [9fans] OSX lion + libthread
Date: Tue, 11 Oct 2011 23:06:00 -0700	[thread overview]
Message-ID: <7402F5C3-D7CA-449E-B33B-75A0DFF4BA23@monkey.org> (raw)

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 \






             reply	other threads:[~2011-10-12  6:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-12  6:06 marius a. eriksen [this message]
2011-10-12  7:05 ` Skip Tavakkolian
2011-10-12 14:54   ` andrey mirtchovski
2011-10-12 18:16   ` Skip Tavakkolian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7402F5C3-D7CA-449E-B33B-75A0DFF4BA23@monkey.org \
    --to=marius@monkey.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).