From owner-freebsd-arm@freebsd.org Sun Dec 4 03:50:47 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F20AEC63292 for ; Sun, 4 Dec 2016 03:50:47 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D3A711BFC for ; Sun, 4 Dec 2016 03:50:47 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=GQiTcBGXRN1RA7IKOirjLAwQtQws7AuT2WRfP3lrGBo=; b=H4TJCwUa/r4iof7ciwMILljeHS B2plnQMqNPzyP0SQCv7ypV8alZ/MAtzHlhEUHcf0VMuIQlTMwhEdhHlkiHx9Dea1TKsollG5Zbrkm /oMnQgQys5/0h8uRO46cZ0Ui2Rv2/mGZvsafb9qVL3oEL/VAU3rb4lYROqdpG8mvS9As=; Received: from [114.125.104.72] (port=54332 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1cDNp6-003Got-3S; Sat, 03 Dec 2016 20:50:44 -0700 Date: Sun, 4 Dec 2016 11:50:32 +0800 From: Erich Dollansky To: Mark Millard 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> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Authenticated-Sender: sl-508-2.slc.westdc.net: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2016 03:50:48 -0000 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 wrote: > On 2016-Dec-3, at 5:53 PM, Erich Dollansky 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