delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/03/04/08:41:38

From: Andris Pavenis <pavenis AT latnet DOT lv>
To: djgpp-workers AT delorie DOT com, Esa A E Peuha <peuha AT cc DOT helsinki DOT fi>
Subject: Re: Problem with gcc
Date: Tue, 4 Mar 2003 15:40:06 +0200
User-Agent: KMail/1.5
References: <Pine DOT OSF DOT 4 DOT 51 DOT 0303041340140 DOT 8528 AT sirppi DOT helsinki DOT fi>
In-Reply-To: <Pine.OSF.4.51.0303041340140.8528@sirppi.helsinki.fi>
MIME-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019