From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: native Win32 guile 1.7.0 Date: Sat, 31 May 2003 09:58:38 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87smqwugup.fsf@zip.com.au> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054339126 13201 80.91.224.249 (30 May 2003 23:58:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 30 May 2003 23:58:46 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat May 31 01:58:41 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Ltlh-0003Qc-00 for ; Sat, 31 May 2003 01:58:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Ltmh-0004FA-QZ for guile-devel@m.gmane.org; Fri, 30 May 2003 19:59:43 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19LtmJ-0003zF-DT for guile-devel@gnu.org; Fri, 30 May 2003 19:59:19 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19LtmF-0003pm-0q for guile-devel@gnu.org; Fri, 30 May 2003 19:59:17 -0400 Original-Received: from snoopy.pacific.net.au ([61.8.0.36]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Ltlt-0002c6-3U for guile-devel@gnu.org; Fri, 30 May 2003 19:58:53 -0400 Original-Received: from sunny.pacific.net.au (sunny.pacific.net.au [203.2.228.40]) h4UNwlPB030655; Sat, 31 May 2003 09:58:48 +1000 Original-Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id h4UNwkQg006839; Sat, 31 May 2003 09:58:46 +1000 (EST) Original-Received: from localhost (ppp107.dyn228.pacific.net.au [203.143.228.107]) by wisma.pacific.net.au (8.12.9/8.12.9) with ESMTP id h4UNwiYZ012915; Sat, 31 May 2003 09:58:45 +1000 (EST) Original-Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 19Ltlf-0000Id-00; Sat, 31 May 2003 09:58:39 +1000 Original-To: stefan Mail-Copies-To: never In-Reply-To: (stefan@lkcc.org's message of "Fri, 30 May 2003 05:23:15 +0200 (CEST)") User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2459 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2459 stefan writes: > > I can remember that on Win32 an environment variable can be unset via > putenv somehow... I'll investigate that. Actually, I see that's a standard feature of putenv supposedly. What systems is it not? Would be nice to have a reminder of them. Perhaps it's enough to just use unsetenv if it exists, and presume when it doesn't that putenv is fully functional. Could start with that until proven otherwise. (With an addition to the test-suite to pick up any problem.) /* No '=' in argument means we should remove the variable from the environment. Not all putenvs understand this. To be safe, we do it explicitely using unsetenv. */ #ifdef HAVE_UNSETENV if (strchr (SCM_STRING_CHARS (str), '=') == NULL) { unsetenv (SCM_STRING_CHARS (str)); return; } #endif > The -lm is found but not used for anything. When -lm is on the linker > line libtool would fail to create a dll, that is why I removed it for > mingw32. Oh, not good. Would be worth having a comment to that effect. You know how conditionals for strange environments build up until no-one can remember why they were added :-). _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel