gcc-3.2.2 and SCO Openserver 5.0.6A

Jean-Pierre Radley jpr@jpr.com
Sat Feb 8 22:07:00 GMT 2003


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;
| #else
| 	flag_pcc_struct_return = DEFAULT_PCC_STRUCT_RETURN;
| #endif

Why not this instead:

	#ifndef DEFAULT_PCC_STRUCT_RETURN
	  #define DEFAULT_PCC_STRUCT_RETURN 1
	#endif

?

-- 
JP



More information about the Gcc mailing list