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: <gerrit dot haase at t-online dot de>,<cygwin at cygwin dot com>
- Subject: Re: python 2.0, cygwin & readline - undefined symbols
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- Date: Mon, 12 Mar 2001 20:38:56 +1100
- References: <3AAC3BD5.11477.20D2F4F@localhost>; from gerrit.haase@t-online.de on Mon, Mar 12, 2001 at 03:00:37AM +0100 <3AACA38C.20966.3A253D4@localhost>
I haven't tryed python, so take this with a grain of salt:
Gerrit, can you successfully build and link .dlls? The -s option to ld
is "-s, --strip-all Strip all symbols"
I suspect that that may interfere with .dll's, because they _need_ a
exported symbol list to allow them to be loaded and linked to by name
(as opposed to ordinal).
ld also has "-S, --strip-debug Strip debugging symbols"
which might be more what you're looking for?
Rob
----- Original Message -----
From: "Gerrit P. Haase" <gerrit.haase@t-online.de>
To: <cygwin@cygwin.com>
Sent: Monday, March 12, 2001 8:23 PM
Subject: Re: python 2.0, cygwin & readline - undefined symbols
> <Am 2001-03-11 23:39 wars, als Jason Tishler schrieb:>
> < Re: python 2.0, cygwin & readline - >
>
> > > [...]
> > > Creating library file: libpython2.1.dll.a
> > > gcc -s -o python.exe Modules/python.o \
> > > libpython2.1.dll.a -lm
> >
> > Just curious, but how did you get the "-s" option set above. Via
> > configure or did you edit your Makefile?
>
> its in my .bashrc:
> export LDFLAGS=-s
>
<snip>
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple