From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 3 Sep 2009 16:40:03 -0500 Message-ID: From: Jason Catena To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] Compiling plan9port under Mac OS X 10.6 Topicbox-Message-UUID: 62e59a44-ead5-11e9-9d60-3106f5b1d025 On Thu, Sep 3, 2009 at 04:53, plus 852 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