Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: , 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 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" To: Sent: Monday, March 12, 2001 8:23 PM Subject: Re: python 2.0, cygwin & readline - undefined symbols > > < 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 > -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple