as: Command Line

1 
1 1.4 Command Line
1 ================
1 
1 After the program name 'as', the command line may contain options and
1 file names.  Options may appear in any order, and may be before, after,
1 or between file names.  The order of file names is significant.
1 
1    '--' (two hyphens) by itself names the standard input file
1 explicitly, as one of the files for 'as' to assemble.
1 
1    Except for '--' any command line argument that begins with a hyphen
1 ('-') is an option.  Each option changes the behavior of 'as'.  No
1 option changes the way another option works.  An option is a '-'
1 followed by one or more letters; the case of the letter is important.
1 All options are optional.
1 
1    Some options expect exactly one file name to follow them.  The file
1 name may either immediately follow the option's letter (compatible with
1 older assemblers) or it may be the next command argument (GNU standard).
1 These two command lines are equivalent:
1 
1      as -o my-object-file.o mumble.s
1      as -omy-object-file.o mumble.s
1