From: Andris Pavenis To: djgpp-workers AT delorie DOT com, Esa A E Peuha Subject: Re: Problem with gcc Date: Tue, 4 Mar 2003 15:40:06 +0200 User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303041540.06300.pavenis@latnet.lv> Reply-To: djgpp-workers AT delorie DOT com On Tuesday 04 March 2003 14:46, Esa A E Peuha wrote: > When trying to compile gcc with host alphaev6-dec-osf4.0f and target > i586-pc-msdosdjgpp, the native gcc gives the following error: > > ../../gcc-3.2.2/gcc/config/i386/i386.c: In function `override_options': > ../../gcc-3.2.2/gcc/config/i386/i386.c:927: `DEFAULT_PCC_STRUCT_RETURN' > undeclared (first use in this function) > > The same thing happens with host sparc-sun-solaris2.8. Define it to 0 in gcc/config/i386/djgpp.h: #define DEFAULT_PCC_STRUCT_RETURN 0 Andris