Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: "Xavier" <xavier.pianet@lusis.fr>
Subject: problem with dlltools / gcc -shared
Date: Tue, 29 Oct 2002 13:08:00 +0100
Organization: LUSIS
Lines: 46
Message-ID: <apltj1$4vp$1@main.gmane.org>
NNTP-Posting-Host: 81.1.37.98
X-Trace: main.gmane.org 1035893153 5113 81.1.37.98 (29 Oct 2002 12:05:53 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Tue, 29 Oct 2002 12:05:53 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700

Hi there

I try to compile a dll that exports 17000+ symbols
during the creation of the .lib archive it creates those temporary .o files
but it
looks like it goes over the allowed number of files in the same directory or
somethings around thoses lines (the / tree is on an NTFS partition)
>dlltool -d wxmsw233.def -l libwxmsw233.dll.a
dlltool:  bfd_open failure while opening stub file : ds10732.o
>ls -l | wc -l
17041

gcc -shared generates a core dump in this particular case

Question : is there an easy work-around or should i build the .lib archive
by small blocks
i see there is an option for dltool to keep .o files but what about one that
deletes then after
addition to the archive ?


System used :
/home> uname -a
CYGWIN_NT-5.0 TEMPO7 1.3.13(0.62/3/2) 2002-10-13 23:15 i686 unknown
(same pbs with a 1.3.14-1)
/home> gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs
Configured with:
/netrel/src/gcc-3.2-1/configure --enable-languages=c,c++,f77,ja
va --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --
with
out-included-gettext --enable-interpreter --disable-sjlj-exceptions --disabl
e-ve
rsion-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i68
6-pc
-cygwin --target=i686-pc-cygwin --enable-haifa --prefix=/usr --exec-prefix=/
usr
--sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include --libe
xecd
ir=/usr/sbin
Thread model: posix
gcc version 3.2 20020818 (prerelease)

Xavier





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

