linux-mips
[Top] [All Lists]

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

To: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Subject: Re: Lossage do to #ifndef __ASSEMBLY__ in mipsregs.h
From: David Daney <ddaney@avtrex.com>
Date: Thu, 22 Jan 2004 16:02:26 -0800
Cc: linux-mips@linux-mips.org
In-reply-to: <20040122235619.GR23173@rembrandt.csv.ica.uni-stuttgart.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <40105A6F.3060009@avtrex.com> <20040122235619.GR23173@rembrandt.csv.ica.uni-stuttgart.de>
Sender: linux-mips-bounce@linux-mips.org
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.
[snip]
-#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.


Thiemo
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>