python 2.0, cygwin & readline - undefined symbols

Robert Collins robert.collins@itdomain.com.au
Mon Mar 12 01:40:00 GMT 2001


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



More information about the Cygwin mailing list