problems with tcsh, MACHTYPE on Raspberry Pi 3
Erich Dollansky
erichsfreebsdlist at alogt.com
Sun Dec 4 01:54:10 UTC 2016
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
[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
More information about the freebsd-arm
mailing list