delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/12/04:46:47

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <004e01c0aad8$470e20e0$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: <gerrit DOT haase AT t-online DOT de>, <cygwin AT cygwin DOT com>
References: <3AAC3BD5 DOT 11477 DOT 20D2F4F AT localhost>; from gerrit DOT haase AT t-online DOT de on Mon, Mar 12, 2001 at 03:00:37AM +0100 <3AACA38C DOT 20966 DOT 3A253D4 AT localhost>
Subject: Re: python 2.0, cygwin & readline - undefined symbols
Date: Mon, 12 Mar 2001 20:38:56 +1100
MIME-Version: 1.0
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 DOT haase AT t-online DOT de>
To: <cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019