On 17/06/2020 11:41, Steve Fryatt wrote:
Does AsAsm have support for translating RISC OS format filenames in GET
directives into Unix format? That is, if I have source
GET h.Include
can AsAsm look for Include.h instead, without needing changes to the source?
I can't see anything obvious in the command line options, but there's
mention in the AsAsm sources of converting RISC OS format names. There seems
to be nothing mentioned in the docs beyond details of expanding system
variables.
The usual way to handle this is to use POSIX-style filenames in the
actual source code and let the tools detect that a subdirectory is in
use instead of an extension. asasm appears to do this both as a native
RISC OS tool and when used in a cross-compilation environment. If objasm
compatibility matters to you, note that it only tries to interpret the
filename as POSIX-style if it contains a slash, i.e. you'd need to use
"GET ./include.h".
Ben
_______________________________________________
GCCSDK mailing list [email protected]
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK