Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 21 Aug 2013 14:09:59 +0400
From: Solar Designer <>
Subject: Re: Daniel's weekly report #10


On Tue, Aug 20, 2013 at 12:41:18AM +0200, D?niel Bali wrote:
> 2. Found a way to use cpp pre-processor for #defines and other macros
> Here is the script:
> Solar, I suppose you meant something different.

No, I actually meant something like what you did, although you should be
able to avoid most temporary files by using pipes more.  Also, you may
be able to invoke cpp (with pipes pre-opened on its fd 0 and 1) from
inside gcnasm when the input filename has the .S suffix.

For the temporary files, if you do use them, perhaps include the PID in
the filenames ("$$" in shell).  Otherwise concurrent invocations (such
as when building multiple GCN ISA source files from the same Makefile)
would fail.  (In a sense, it'd be a nice issue to have... meaning that
we're actually using this stuff.)


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.