|
From: Frank K. <fbk...@co...> - 2005-01-03 14:58:16
|
Hi Aitor, Now it looks like *my* last message didn't go out. That was the easy one: "nasm -v" for version information. Got some feedback from the win32-nasm-users Yahoo group: ----------------------- We have the all mighty make program... It is a must for programmers... http://directory.fsf.org/make.html But it is hard to tell if this is the tool you need, since you haven't said what you want to do with such a feature... ===== rogr|less | /\ ascii ribbon campaign, olestays[at]yahoo[dot]no | \/ against html mail and http://home.no.net/pusleole | /\ proprietary formats ------------------------------------------------------ I don't see how "make" is going to help you... but it's nice to see that win32 users are aware of gnu make :) > I have another one: > > == A > %define gotit > == > > == B > %include "A" > > %ifdef gotit > ... > === > > I was just wondering if there was a clean way to do this, I intend "A" > to be a simple format file with almost only strings to be translated by > other people (and avoid the %define) Mmmm... we can compare text... if you had one of the strings as a macro parameter, you could do: %ifidn %1 gotit ; do something %else ; ... %endif Perhaps you could figure out a way to use that to avoid the "%define"... Not really very "clean". Ordinarily, you'd "know" at assemble time whether you had that file available or not. I assume what you want to do is let your users do some "do-it-yourself internationalization", if they've translated the strings(?). You may have to require the user to plainly tell Nasm "we have the file"... or not. Best, Frank |