Date: Sat, 3 Dec 2016 17:59:03 -0800 From: Mark Millard <markmi@dsl-only.net> To: Erich Dollansky <erichsfreebsdlist@alogt.com> Cc: freebsd-arm@freebsd.org Subject: Re: problems with tcsh, MACHTYPE on Raspberry Pi 3 Message-ID: <8F1E8C9A-67E2-4B72-8F95-963EDE942707@dsl-only.net> In-Reply-To: <20161204095356.1d370fd8@X220.alogt.com> References: <20161204095356.1d370fd8@X220.alogt.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2016-Dec-3, at 5:53 PM, Erich Dollansky <erichsfreebsdlist at = alogt.com> wrote: > Hi, >=20 > I gave FreebSD 12 a try on my Raspberry Pi 3 but encountered some > strange things. >=20 > I use this image: >=20 > FreeBSD-aarch64-12.0-GENERIC-UP-308109M.img.gz >=20 > It all works until I start to compile programs. The main source of the > problem is that >=20 > echo $MACHTYPE > unknown >=20 > Of course, everything relying on this information fails afterwards. >=20 > MACHTYPE seems to be hard-coded in tcsh. Setting it in the current > shell resets it in a sub-shell. >=20 > The miracle started when I tried to work with a variable I named > MachType. >=20 > [erich@X220]~ > setenv MachTYpe "local machine type" > [erich@X220]~ > echo $MachType "Y" vs. "y" on the two lines above? > [erich@X220]~ > setenv Susie Otto > [erich@X220]~ > echo $Susie > Otto > [erich@X220]~ >=20 >=20 > When I then use MachType inside a script on the Raspberry, it all > works. >=20 > Is this really expected behaviour? >=20 > Erich =3D=3D=3D Mark Millard markmi at dsl-only.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8F1E8C9A-67E2-4B72-8F95-963EDE942707>