Subject: Re: python 2.0, cygwin & readline - undefined symbols
From: "Gerrit P. Haase" <[email-masked]>
To: [email-masked]
Date: Wed, 14 Mar 2001 23:33:20 +0100

<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

-- 
=^..^= [email-masked]
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