delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/02/06:34:29

X-Spam-Check-By: sourceware.org
Date: Thu, 2 Mar 2006 12:34:16 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Querying the LIB environment (from g++) don't work with current cygwin.dll (1.5.19-4)
Message-ID: <20060302113416.GI3184@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4406C9AD DOT 7060705 AT pad DOT zuken DOT de>
Mime-Version: 1.0
In-Reply-To: <4406C9AD.7060705@pad.zuken.de>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Mar  2 11:32, Kai Benndorf wrote:
> Hi all,
> 
> i can't query the LIB environment variable from C++ code, compiled with 
> g++, with GetEnvironmentVariable, as demonstrated in the appended, small 
> example program. Other variables (e.g. PATH could be retrieved without 
> problems). The example program queries LIB and prints it out. The output 
> i received is an empty string.

Cygwin -> POSIX -> getenv.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


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