problems with tcsh, MACHTYPE on Raspberry Pi 3
Mark Millard
markmi at dsl-only.net
Sun Dec 4 01:59:13 UTC 2016
On 2016-Dec-3, at 5:53 PM, Erich Dollansky <erichsfreebsdlist at alogt.com> wrote:
> Hi,
>
> I gave FreebSD 12 a try on my Raspberry Pi 3 but encountered some
> strange things.
>
> I use this image:
>
> FreeBSD-aarch64-12.0-GENERIC-UP-308109M.img.gz
>
> It all works until I start to compile programs. The main source of the
> problem is that
>
> echo $MACHTYPE
> unknown
>
> Of course, everything relying on this information fails afterwards.
>
> MACHTYPE seems to be hard-coded in tcsh. Setting it in the current
> shell resets it in a sub-shell.
>
> The miracle started when I tried to work with a variable I named
> MachType.
>
> [erich at X220]~ > setenv MachTYpe "local machine type"
> [erich at X220]~ > echo $MachType
"Y" vs. "y" on the two lines above?
> [erich at X220]~ > setenv Susie Otto
> [erich at X220]~ > echo $Susie
> Otto
> [erich at X220]~ >
>
> When I then use MachType inside a script on the Raspberry, it all
> works.
>
> Is this really expected behaviour?
>
> Erich
===
Mark Millard
markmi at dsl-only.net
More information about the freebsd-arm
mailing list