Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | previous in thread | raw e-mail

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@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]~ > 
> 
> 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



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8F1E8C9A-67E2-4B72-8F95-963EDE942707>