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 From: "Richard Stanton" To: Subject: RE: Problem creating DLL file with gcc 2.95.2.9 Date: Wed, 28 Mar 2001 10:03:44 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <20010327193032.A12371@redhat.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Thanks, Chris. 2.95.3-2 works, and creates a working XLL file, but results in some error messages about duplicate definitions that didn't occur with prior versions. For example: gcc -O3 -Df2cFortran -mno-cygwin -I. -I/c/projects/framewrk -I/c/projects/h -I/c/projects/parse -I. -I/usr/include/mingw32 -DXLL -Dcdecl=__cdecl -D_cde cl=__cdecl -Dfar= -Dpascal=__stdcall -fwritable-strings -c -o bonds.o ../finance/bonds.c *Initialization*:1: warning: `_cdecl' redefined *Initialization*:1: warning: this is the location of the previous definition In file included from /c/projects/h/rhsmath.h:7, from ../finance/bonds.c:22: /c/projects/h/mconf.h:72: warning: `DOMAIN' redefined /usr/include/mingw32/math.h:51: warning: this is the location of the previous definition /c/projects/h/mconf.h:73: warning: `SING' redefined /usr/include/mingw32/math.h:52: warning: this is the location of the previous definition /c/projects/h/mconf.h:74: warning: `OVERFLOW' redefined /usr/include/mingw32/math.h:53: warning: this is the location of the previous definition /c/projects/h/mconf.h:75: warning: `UNDERFLOW' redefined /usr/include/mingw32/math.h:54: warning: this is the location of the previous definition /c/projects/h/mconf.h:76: warning: `TLOSS' redefined /usr/include/mingw32/math.h:55: warning: this is the location of the previous definition /c/projects/h/mconf.h:77: warning: `PLOSS' redefined /usr/include/mingw32/math.h:56: warning: this is the location of the previous definition Richard Stanton > -----Original Message----- > From: Christopher Faylor [mailto:cgf AT redhat DOT com] > Sent: Tuesday, March 27, 2001 4:31 PM > To: Cygwin > Cc: stanton AT haas DOT berkeley DOT edu > Subject: Re: Problem creating DLL file with gcc 2.95.2.9 > > > On Tue, Mar 27, 2001 at 03:50:21PM -0800, Richard Stanton wrote: > >The first two lines have always occurred, but the fatal error (starting > >/usr/...) has only occurred since the latest gcc upgrade. > > > >Has some environment variable changed with the upgrade? > > Should be fixed with gcc 2.95.3-2, which I just announced recently. > It's still experimental so you will have to explicitly select this > when you run setup.exe. > > If this is not acceptable, search the mailing list archives for recent > email from Earnie Boyd. He included a gcc specs file which fixes > this problem. > > cgf > -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple