9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Jason Catena <jason.catena@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Compiling plan9port under Mac OS X 10.6
Date: Thu,  3 Sep 2009 16:40:03 -0500	[thread overview]
Message-ID: <d50d7d460909031440t11815397h9819e83c7ca9d34e@mail.gmail.com> (raw)
In-Reply-To: <ec4c0205-f966-456c-95df-9a5fff7421c3@r9g2000yqa.googlegroups.com>

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



      parent reply	other threads:[~2009-09-03 21:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-03  9:53 plus 852
2009-09-03 15:04 ` Russ Cox
2009-09-03 21:40 ` Jason Catena [this message]

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=d50d7d460909031440t11815397h9819e83c7ca9d34e@mail.gmail.com \
    --to=jason.catena@gmail.com \
    --cc=9fans@9fans.net \
    /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).