X-Recipient: archive-cygwin@delorie.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@cygwin.com
From: Oleksandr Gavenko <gavenkoa@gmail.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
Content-Type: text/plain
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

