This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Problem creating DLL file with gcc 2.95.2.9


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@redhat.com]
> Sent: Tuesday, March 27, 2001 4:31 PM
> To: Cygwin
> Cc: stanton@haas.berkeley.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]