delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/12/15/16:44:02

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_05,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_NONE,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Oleksandr Gavenko <gavenkoa AT gmail DOT com>
Subject: Passing PROCESSOR_ARCHITECTURE env var from Cygwin sshd into my ssh session.
Date: Sat, 15 Dec 2012 23:43:36 +0200
Lines: 24
Message-ID: <87pq2bvvnb.fsf@gavenkoa.example.com>
Mime-Version: 1.0
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I setup VirtualBox and Windows in it and setup sshd under Cygwin.

Further development I perform in original Debian distro from ssh+Emacs+Cygwin.

I need to compile a project with native Scons+MSVC. To do this I installed
appropriated software and wrote batch-file wrapper (which setup PATH and other
vars).

Scons script fail at code that check PROCESSOR_ARCHITECTURE env var.

"set | grep PROCESSOR" is empty in my ssh session!

As workaround I just set this variable at my batch-file wrapper.

But I don't understand why this env var was not set. While many other
variables are set (like WINDIR, SYSTEMROOT, PROGRAMFILES).

Is that a bug?

How to make this variable be passed into my ssh session permanently but
without editing .bashrc?

-- 
Best regards!


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019