Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <004e01c0aad8$470e20e0$0200a8c0@lifelesswks>
From: "Robert Collins" <robert.collins@itdomain.com.au>
To: <gerrit.haase@t-online.de>, <cygwin@cygwin.com>
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>
Subject: Re: python 2.0, cygwin & readline - undefined symbols
Date: Mon, 12 Mar 2001 20:38:56 +1100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-OriginalArrivalTime: 12 Mar 2001 09:33:20.0306 (UTC) FILETIME=[79B66120:01C0AAD7]

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

