View source code
Display the source code in dmd/mars.d from which this
page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a
Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
Function dmd.mars.parse_arch_arg
Parse command line arguments for the last instance of -m32, -m64, -m32mscoff or -m32omfobj to detect the desired architecture.
const(char)[] parse_arch_arg
(
dmd .root .array .Array!(const(char)*)* args,
const(char)[] arch
);
Parameters
Name | Description |
---|---|
args | Command line arguments |
arch | Default value to use for architecture. Should be "32" or "64" |
Returns
"32", "64" or "32omf" if the "-m32", "-m64", "-m32omf" flags were passed,
respectively. If they weren't, return arch
.
Authors
License
Copyright © 1999-2024 by the D Language Foundation | Page generated by ddox.