delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/06/11/17:56:04

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:reply-to:date:message-id:subject
:from:to:content-type; q=dns; s=default; b=KRr/S+PdHhPreWALF5kax
5HZWfJ6OvzzQ6pxWqIwDqR/DJ1mUFmmtj2yVNcfBhn/W1MhzteWRwcVwe1PzlqmK
QMxZMPLmIby6j/dSvImfe4HMYC/euaw33AXQLE8ZaHJkFVZBAqNmNsQWtKFL75Gk
hiI5ili/u592pKH2My0pfU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:reply-to:date:message-id:subject
:from:to:content-type; s=default; bh=k2KcRHwW6wzXoGernZtWSx5zZng
=; b=QNk25IPOsZzvlAfWQdI+uz0NY1IvCpVJliU7/McBuSOh52veQtQnB5tWpHY
ZNfJrh9dYm6ILGlrrMCx+TIt7FGM0mDpw9nhweD9wgZ2H5N28CGR+erNN2+VGdnb
4FWnwGxe+TtjCpVfdbL0O/w4z9I3jbqbz0jOMaN8lK2w3jsk=
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
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1
MIME-Version: 1.0
X-Received: by 10.50.70.101 with SMTP id l5mr1921104igu.104.1370987744433; Tue, 11 Jun 2013 14:55:44 -0700 (PDT)
Reply-To: basiliomail AT gmail DOT com
Date: Tue, 11 Jun 2013 23:55:44 +0200
Message-ID: <CAHYyVz6bkXx89HZsWrt8ojgUVw02W_qG1s6bd7Ev2XAW3wcRog@mail.gmail.com>
Subject: __cygwin_environ, __imp_environ, _cur_environ, where is 'environ' symbol?
From: Vasyl Khalak <s0972784 AT access DOT uzh DOT ch>
To: cygwin AT cygwin DOT com

I have tried to compile 0.18.2 gettext on x64 Cygwin, and got
"undefined reference to `environ'", where is the symbol?

user AT host /cygdrive/c/cygwin

32 bit:
$ nm lib/libcygwin.a
00000000 I __imp____cygwin_environ
00000000 I __nm____cygwin_environ
...
00000000 B _environ

$ nm bin/cygwin1.dll
61227a44 B ___cygwin_environ
6102db00 T _cur_environ AT 0
61184444 D _main_environ

64 bit:
$ nm /usr/lib/libcygwin.a
0000000000000000 I __imp_environ
0000000000000000 I __nm_environ

$ nm /usr/bin/cygwin1.dll
00000001802a4778 B __cygwin_environ


PS. BTW, I couldn't get a hand to have 'setup.ini' fixed on
CygwinPorts FTP concerning the mismatched references to Java links,
and to make a '64bit' symlink in their 'cygwinports' directory, could
somebody forward my request, please?

--
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