other/5450: __i386__ not defined on unixsware
nils@shkoo.com
nils@shkoo.com
Tue Jan 22 02:56:00 GMT 2002
The following reply was made to PR other/5450; it has been noted by GNATS.
From: nils@shkoo.com
To: rodrigc@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: other/5450: __i386__ not defined on unixsware
Date: Tue, 22 Jan 2002 03:51:20 -0700 (MST)
yes,
this fixes the problem.
thanks,
-nils
On 22 Jan 2002 rodrigc@gcc.gnu.org wrote:
> Synopsis: __i386__ not defined on unixsware
>
> State-Changed-From-To: open->feedback
> State-Changed-By: rodrigc
> State-Changed-When: Mon Jan 21 23:13:18 2002
> State-Changed-Why:
> Does the problem go away if you patch gcc/config/i386/sysv4.h
> with the following? It is similar to the last line
> of sysv5.h.
>
>
>
> Index: sysv4.h
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/config/i386/sysv4.h,v
> retrieving revision 1.11.4.2
> diff -u -r1.11.4.2 sysv4.h
> --- sysv4.h 2001/05/22 17:13:48 1.11.4.2
> +++ sysv4.h 2002/01/22 07:10:06
> @@ -212,3 +212,6 @@
> "addl\t$_GLOBAL_OFFSET_TABLE_+[.-.LPR%=],%0"
> \
> : "=d"(BASE))
> #endif
> +
> +#undef CPP_SPEC
> +#define CPP_SPEC "%(cpp_cpu)"
>
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5450
>
More information about the Gcc-prs
mailing list