delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/02/22/10:13:18

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <00d201bf7d48$2e8b1f50$9801010a@gpsr.colostate.edu>
From: "John Huddleston" <jhuddles AT rocky DOT itc DOT nrcs DOT usda DOT gov>
To: "Craig Lanning" <lanning AT scra DOT org>, <cygwin AT sourceware DOT cygnus DOT com>
References: <14514 DOT 42467 DOT 930000 DOT 171423 AT ngds1 DOT scra DOT org>
Subject: Re: Problem with -mno-cygwin compile
Date: Tue, 22 Feb 2000 08:19:15 -0700
Organization: nrcs
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300

I have B20.1 with the 2.95.2 upgrade and it works for me.

Post your cygcheck -s -v -r to the list.

----- Original Message ----- 
From: Craig Lanning <lanning AT scra DOT org>
To: <cygwin AT sourceware DOT cygnus DOT com>
Sent: Tuesday, February 22, 2000 8:06 AM
Subject: Problem with -mno-cygwin compile


> 
> My environment is
>    Windows 98
>    Cygwin b20.1 + 2/21 snapshot
>    gcc 2.95.2
> 
> If I compile the code below with -mno-cygwin it complains about the
> symbol _environ_dll not being resolved.  (I have been seeing this
> problem for a couple of months.)  If I compile it without -mno-cygwin
> it works fine.  Is there something else I need to do to get it to work
> with -mno-cygwin?
> 
> Craig Lanning
> 
> --------------------------------------------------
> #include <stdio.h>
> #include <stdlib.h>
> 
> extern char **environ;
> 
> int main(void)
> {
>   int i=1;
>   char **env=environ;
> 
>   while (*env) {
>     printf("env[%2d]: %s\n",i++,*env);
>     env++;
>   }
> }
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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