* [9fans] Compiling plan9port under Mac OS X 10.6
@ 2009-09-03 9:53 plus 852
2009-09-03 15:04 ` Russ Cox
2009-09-03 21:40 ` Jason Catena
0 siblings, 2 replies; 3+ messages in thread
From: plus 852 @ 2009-09-03 9:53 UTC (permalink / raw)
To: 9fans
Has anyone had success with compiling plan9port under Mac OS X 10.6
(Snow Leopard)? I've submitted an issue report at
http://code.swtch.com/plan9port/issue/27/compiling-under-snow-leopard
that provides the error messages I received. I then tried adding
CC9=gcc -m32 to a $PLAN9/LOCAL.config file, but when running ./install
I ended up with a variety of the following errors:
>>> /Users/--/plan9/config: line 1: -m32: command not found
Does anyone have any suggestions?
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] Compiling plan9port under Mac OS X 10.6
2009-09-03 9:53 [9fans] Compiling plan9port under Mac OS X 10.6 plus 852
@ 2009-09-03 15:04 ` Russ Cox
2009-09-03 21:40 ` Jason Catena
1 sibling, 0 replies; 3+ messages in thread
From: Russ Cox @ 2009-09-03 15:04 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Thu, Sep 3, 2009 at 2:53 AM, plus 852<plus852@gmail.com> wrote:
> Has anyone had success with compiling plan9port under Mac OS X 10.6
> (Snow Leopard)? I've submitted an issue report at
> http://code.swtch.com/plan9port/issue/27/compiling-under-snow-leopard
> that provides the error messages I received. I then tried adding
> CC9=gcc -m32 to a $PLAN9/LOCAL.config file, but when running ./install
> I ended up with a variety of the following errors:
>
>>>> /Users/--/plan9/config: line 1: -m32: command not found
moving to plan9port-dev
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] Compiling plan9port under Mac OS X 10.6
2009-09-03 9:53 [9fans] Compiling plan9port under Mac OS X 10.6 plus 852
2009-09-03 15:04 ` Russ Cox
@ 2009-09-03 21:40 ` Jason Catena
1 sibling, 0 replies; 3+ messages in thread
From: Jason Catena @ 2009-09-03 21:40 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On Thu, Sep 3, 2009 at 04:53, plus 852<plus852@gmail.com> wrote:
> CC9=gcc -m32 to a $PLAN9/LOCAL.config file, but when running ./install
> I ended up with a variety of the following errors:
>>>> /Users/--/plan9/config: line 1: -m32: command not found
If LOCAL.config is a shell script, then the shell interprets "CC9=gcc"
as setting a shell variable named CC9 to gcc, and -m32 as the name of
an executable file to run. For example:
; CC9='gcc -m32' echo $CC9
gcc -m32
In the shell, you have to use quotes when you have a space in a
variable's value. In makefiles you don't.
Jason Catena
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-09-03 21:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-03 9:53 [9fans] Compiling plan9port under Mac OS X 10.6 plus 852
2009-09-03 15:04 ` Russ Cox
2009-09-03 21:40 ` Jason Catena
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).