This is the mail archive of the
mailing list for the GCC project.
Re: gcc-3.2.2 and SCO Openserver 5.0.6A
Phillip Porch typed (on Sat, Feb 08, 2003 at 12:16:39PM -0600):
| I was able to compile gcc-3.2.2 for SCO Openserver 5.0.6A after patching
| the gcc/config/i386/i386.c program at about line 927 as a post on the
| gcc.gnu.org site suggested for systems that do not have
| DEFAULT_PCC_STRUCT_RETURN defined.
| if (flag_pcc_struct_return ==2)
| #ifndef DEFAULT_PCC_STRUCT_RETURN
| flag_pcc_struct_return = 1;
| flag_pcc_struct_return = DEFAULT_PCC_STRUCT_RETURN;
Why not this instead:
#define DEFAULT_PCC_STRUCT_RETURN 1