From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Davies To: cygwin@sourceware.cygnus.com Subject: Re: Broken C code Date: Thu, 27 Jan 2000 21:22:00 -0000 Message-id: <200001280522.PAA06388@mustang.sdc.com.au> References: <20000127221504.A8019@cygnus.com> X-SW-Source: 2000-01/msg00476.html G'day Chris and thank you for your reply. I haven't had a chance to check yet but your suggestion sounds very promising. I'll let you know how I go. Cheers and thanks, Stephen. Chris Faylor wrote: > It sounds like your specs file is screwed up. It should be in something > like .../lib/gcc-lib/cygnus-2.7b19/specs but I don't know precisely where > it would be located. > > It should contain a line like this: > > *predefines: > -Di386 -D_WIN32 -DWINNT -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -Asystem(winnt) -Acpu(i386) -Amachine(i386) > > This is from a much more recent gcc compiler so this may not be exactly right > but you can at least see what it should look like. > > It's possible that you also may have something like a GCC_LIBRARY environment > variable which is pointing to the wrong place. > > cgf -- ======================================================================== Stephen Davies Consulting scldad@sdc.com.au Adelaide, South Australia. Voice: 08-8177 1595 Computing & Network solutions. Fax: 08-8177 0133 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com