This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: python 2.0, cygwin & readline - undefined symbols
- To: cygwin at cygwin dot com
- Subject: Re: python 2.0, cygwin & readline - undefined symbols
- From: "Gerrit P. Haase" <gerrit dot haase at t-online dot de>
- Date: Wed, 14 Mar 2001 23:33:20 +0100
- Organization: Esse keine toten Tiere
- References: <3AAE579E.5384.14A573@localhost>; from gerrit@familiehaase.de on Tue, Mar 13, 2001 at 05:23:42PM +0100
- Reply-to: gerrit dot haase at t-online dot de
<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.haase@t-online.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