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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux