This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: other/5450: __i386__ not defined on unixsware
- From: rodrigc at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nils at shkoo dot com, nobody at gcc dot gnu dot org
- Date: 22 Jan 2002 07:13:21 -0000
- Subject: Re: other/5450: __i386__ not defined on unixsware
- Reply-to: rodrigc at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nils at shkoo dot com, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
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