__ASSEMBLY__ macro
Hi,
I just compiled the U-Boot code from the CVS and got an error. It seems to me setjmp.h is missing which is included in sched.c. The compiler can't find the setjmp() declaration.
While browsing through the could I found the __ASSEMBLY__ macro in some codes, which in- or excludes some declarationen if defined.
What's about this __ASSEMBLY__ macro and how can I use it. Can anyone give me some explanations? Many thanks.
Martin
Signature · 2 lines
+++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage!
Quoted 4 lines · In message <[email protected]> you wrote:
I just compiled the U-Boot code from the CVS and got an error. It seems to me
setjmp.his missing which is included insched.c. The compiler can't find thesetjmp()declaration.
I know. I'm working on cleaning up the code that was provided to me. I thought it was intertesting to include even if it is nt perfect.
Quoted 5 lines
While browsing through the could I found the
__ASSEMBLY__macro in some codes, which in- or excludes some declarationen if defined.What's about this
__ASSEMBLY__macro and how can I use it. Can anyone give me some explanations? Many thanks.
It allows to use #include files in assembler code by removing things
(like C structure definitions) which the assembler would not
understand. It get's set by the Makefile (see "AFLAGS" in config.mk).
Best regards,
Wolfgang Denk
Signature · 3 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Anyone who isn't confused here doesn't really know what's going on.