News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Arguments For Compiling

Started by nathanpc, October 06, 2009, 12:06:19 AM

Previous topic - Next topic

nathanpc

Hello,
I'm building a program in C# that will build the source codes for you calling ml, but i'm getting some errors because ml trys to create the *.obj in the directory that you are, but as i'm in a program it bugs, then i'm needing to know a argument to use in ml that i can say where i want to put the *.obj.

Best Regards,
Nathan Paulino Campos

carlos

just put the path in the name of the .obj file as argument for the -o switch, that will solve your problems,

example:
     ml  source.asm   -o .relative_path/object.obj or /absolute_path/object.obj

just a stupid question  why C#?,  use simply C, or better yet use make (or nmake), that's what it has been made for!!!


Carlos
This message was made with 100% recycled bytes; No bits where harmed in the making of this message

BlackVortex

What's wrong with batch files ?!

nathanpc

Quote from: carlos on October 06, 2009, 12:52:54 AM
just a stupid question why C#?, use simply C, or better yet use make (or nmake), that's what it has been made for!!!
I know C++ and C, but for graphical apps i only use C#, because it's more simple.  :toothy

Quote from: BlackVortex on October 06, 2009, 01:04:47 AM
What's wrong with batch files ?!
I like they, but i want to pratice more C#  :U

nathanpc

At this time i'm making some tools to use with MASM. In C#, because of the graphics. :U