[Top] [All Lists]

Re: Lossage do to #ifndef __ASSEMBLY__ in mipsregs.h

To: Thiemo Seufer <>
Subject: Re: Lossage do to #ifndef __ASSEMBLY__ in mipsregs.h
From: David Daney <>
Date: Thu, 22 Jan 2004 16:02:26 -0800
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031030
Thiemo Seufer wrote:

David Daney wrote:
I am using gcc 3.3.1 to compile the linux_2_4 kernel obtained from cvs a couple of days ago.
-#endif /* !defined (_LANGUAGE_ASSEMBLY) */
+#endif /* !__ASSEMBLY__ */

#endif /* _ASM_MIPSREGS_H */

Why the change?

__ASSEMBLY__ is defined by the Linux build system in order to have a
compiler independent test.

I am starting to understand this.

I will fix my local mipsregs.h so that I can continue, but it seems like the sources in CVS should be changed to allow gcc 3.3.1 to work.

It works here (for my configs). Your linux tree seems to be broken.

I am porting my BSP from 2.4.18 to the latest, and it seems I may have some Makefile incompatibility. So I withdraw my criticism of defined(__ASSEMBLY__).

David Daney

<Prev in Thread] Current Thread [Next in Thread>