Date: Sun, 4 Dec 2016 11:50:32 +0800 From: Erich Dollansky <erichsfreebsdlist@alogt.com> To: Mark Millard <markmi@dsl-only.net> Cc: freebsd-arm@freebsd.org Subject: Re: problems with tcsh, MACHTYPE on Raspberry Pi 3 Message-ID: <20161204115032.4b9a0b6a@X220.alogt.com> In-Reply-To: <8F1E8C9A-67E2-4B72-8F95-963EDE942707@dsl-only.net> References: <20161204095356.1d370fd8@X220.alogt.com> <8F1E8C9A-67E2-4B72-8F95-963EDE942707@dsl-only.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Mark, you are a good observer. But this was just a typing error on my side. I copied the output from two session into this e-mail at the end. On Sat, 3 Dec 2016 17:59:03 -0800 Mark Millard <markmi@dsl-only.net> wrote: > On 2016-Dec-3, at 5:53 PM, Erich Dollansky <erichsfreebsdlist at > alogt.com> wrote: > > > echo $MACHTYPE > > unknown > > > > [erich@X220]~ > setenv MachTYpe "local machine type" > > [erich@X220]~ > echo $MachType > > "Y" vs. "y" on the two lines above? > [erich@raspberry2]~ > setenv MachType "the local thing" [erich@raspberry2]~ > echo $MachType [erich@raspberry2]~ > ./doraspberryalo unknown the local thing otto changing directory unknown the local thing otto unknown the local thing otto ALO development environment is set up for FreeBSD. [erich@raspberry2]...Raspberry/ALO > exit exit unknown the local thing otto [erich@raspberry2]~ > echo $MACHTYPE arm64 [erich@raspberry2]~ > ./doraspberryalo unknown the local thing otto changing directory unknown the local thing otto unknown the local thing otto ALO development environment is set up for FreeBSD. [erich@raspberry2]...Raspberry/ALO > echo $MachType the local thing [erich@raspberry2]...Raspberry/ALO > doraspberryalo is a script calling another script which finally sets up the development environment matching the environment. Here the same thing from an x86 machine: [erich@X220]~ > setenv MachType "local machine type" [erich@X220]~ > echo $MachType [erich@X220]~ > ./doraspberryalo x86_64 local machine type Otto changing directory x86_64 local machine type Otto x86_64 local machine type Otto ALO development environment is set up for FreeBSD. [erich@X220]...Raspberry/ALO > echo $MachType local machine type [erich@X220]...Raspberry/ALO > echo $MACHTYPE x86_64 [erich@X220]...Raspberry/ALO > exit exit x86_64 local machine type Otto [erich@X220]~ > echo $MachType [erich@X220]~ > echo $MACHTYPE otto MACHTYPE was set to 'otto' just like another variable was set to 'Otto'. I know that I cannot use certain names in the environment but I did not see a note regarding 'MachType'. Erich
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161204115032.4b9a0b6a>