delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/14/17:38:28

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Gerrit P. Haase" <gerrit DOT haase AT t-online DOT de>
Organization: Esse keine toten Tiere
To: cygwin AT cygwin DOT com
Date: Wed, 14 Mar 2001 23:33:20 +0100
MIME-Version: 1.0
Subject: Re: python 2.0, cygwin & readline - undefined symbols
Reply-to: gerrit DOT haase AT t-online DOT de
Message-ID: <3AAFFFC0.30139.50F61B3@localhost>
In-reply-to: <20010314163220.A364@dothill.com>
References: <3AAE579E DOT 5384 DOT 14A573 AT localhost>; from gerrit AT familiehaase DOT de on Tue, Mar 13, 2001 at 05:23:42PM +0100
X-mailer: Pegasus Mail for Win32 (v3.12cDE)

<Am 2001-03-14 16:32 wars, als Jason Tishler schrieb:>

> Gerrit,
> 
> On Tue, Mar 13, 2001 at 05:23:42PM +0100, Gerrit P. Haase wrote:
>> Still one unanswered question: Why got the flag not passed for me,
>> but for you?

They are setup in the M<akefile: CCSHARED=	-DUSE_DL_IMPORT

I even customized sysconfig.py, the flags are searched here, but they
don't come through, til gcc starts compiling.

def customize_compiler (compiler):
    """Do any platform-specific customization of the CCompiler instance
    'compiler'.  Mainly needed on Unix, so we can plug in the information
    that varies across Unices and is stored in Python's Makefile.
    """
    if compiler.compiler_type in ["unix", "cygwin"]:
        (cc, opt, ccshared, ldshared, so_ext) = \
            get_config_vars('CC', 'OPT', 'CCSHARED', 'LDSHARED', 'SO')

        cc_cmd = cc + ' ' + opt
        compiler.set_executables(
            preprocessor=cc + " -E",    # not always!
            compiler=cc_cmd,
            compiler_so=cc_cmd + ' ' + ccshared,
            linker_so=ldshared,
            linker_exe=cc)

        compiler.shared_lib_extension = so_ext

Gerrit


-- 
=^..^= gerrit DOT haase AT t-online DOT de
PGP-Key: 0x28A05137 [875C 745E 01CF 8A34 2767  BE39 305E 5261 28A0 5137]

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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