From: Kyle Moffett <mrmacman_g4@mac.com>
To: Keith Owens <kaos@sgi.com>
Cc: Al Viro <viro@ZenIV.linux.org.uk>,
Sam Ravnborg <sam@ravnborg.org>,
Stephen Rothwell <sfr@canb.auug.org.au>,
LKML <linux-kernel@vger.kernel.org>,
jdike@addtoit.com
Subject: Re: asm-offsets.h is generated in the source tree
Date: Tue, 13 Sep 2005 02:58:01 -0400 [thread overview]
Message-ID: <8AD020BA-CBF6-49DC-AFAC-DDBA883B191D@mac.com> (raw)
In-Reply-To: <24229.1126594413@kao2.melbourne.sgi.com>
On Sep 13, 2005, at 02:53:33, Keith Owens wrote:
> On Tue, 13 Sep 2005 02:48:43 -0400,
> Kyle Moffett <mrmacman_g4@mac.com> wrote:
>
>> On Mon, Sep 12, 2005 at 09:15:25PM +0200, Sam Ravnborg wrote:
>>
>>> o Use some magic define trick like:
>>> - #include "ARCHDIR##foo.h"
>>> - I cannot recall correct syntax but something like this is doable
>>>
>>
>> The syntax for that is one of the following:
>>
>> # define STR(x) #x
>> # define XSTR(x) STR(x)
>>
>
> Already exists, see include/linux/stringify.h
Well, yes, but I was illustrating the complete generic technique. If
you put all the defines in appropriate other headers, then all you need
are the #include ANGLE_INCLUDE(baz.h) and #include QUOTE_INCLUDE(baz.h)
lines :-D.
Cheers,
Kyle Moffett
--
Somone asked me why I work on this free (http://www.fsf.org/philosophy/)
software stuff and not get a real job. Charles Shultz had the best
answer:
"Why do musicians compose symphonies and poets write poems? They do
it because
life wouldn't have any meaning for them if they didn't. That's why I
draw
cartoons. It's my life."
-- Charles Shultz
next prev parent reply other threads:[~2005-09-13 6:58 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-10 15:20 asm-offsets.h is generated in the source tree Stephen Rothwell
2005-09-10 16:19 ` Sam Ravnborg
2005-09-11 2:32 ` Al Viro
2005-09-11 8:31 ` Sam Ravnborg
2005-09-11 15:45 ` Al Viro
2005-09-11 17:04 ` Sam Ravnborg
2005-09-11 21:29 ` Al Viro
2005-09-11 22:03 ` Sam Ravnborg
2005-09-11 23:16 ` Al Viro
2005-09-12 19:15 ` Sam Ravnborg
2005-09-13 6:30 ` Al Viro
2005-09-13 6:48 ` Kyle Moffett
2005-09-13 6:53 ` Keith Owens
2005-09-13 6:58 ` Kyle Moffett [this message]
2005-09-13 21:55 ` Al Viro
2005-09-15 1:07 ` Al Viro
2005-09-10 19:08 ` Sam Ravnborg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8AD020BA-CBF6-49DC-AFAC-DDBA883B191D@mac.com \
--to=mrmacman_g4@mac.com \
--cc=jdike@addtoit.com \
--cc=kaos@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
--cc=sfr@canb.auug.org.au \
--cc=viro@ZenIV.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.