Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
16 Views

Are the `Qoption` flag "options" documented anywhere?

From the Developer/Reference Guide we have

/Qoption,string,options or -Qoption,string,options

"string" is listed as being any of the following:

  • cpp - Indicates the Intel compiler preprocessor.
  • c - Indicates the C++ compiler.
  • asm - Indicates the assembler.
  • link - Indicates the linker.
  • prof - Indicates the profiler.
  • On Windows* systems: masm - Indicates the Microsoft assembler.
  •  
  •      On Linux* and macOS* systems, the following are also available:
  •     as - Indicates the assembler.
  •     gas - Indicates the GNU assembler.
  •     ld - Indicates the loader.
  •     gld - Indicates the GNU loader.
  •     lib - Indicates an additional library.
  •     crt - Indicates the crt%.o files linked into executables to contain the place to start execution.

Point is, I don't see "options" being listed anywhere...

(masm is probably easy to figure out, however)

0 Kudos
5 Replies
Highlighted
Moderator
16 Views

0 Kudos
Highlighted
Beginner
16 Views

Thanks, but I know how to use it, I just want to know what options there are.  For example, there is -Qoption,cpp,--unicode_source_kind,"UTF-8" for cpp. That is, one option is --unicode_source_kind. I want to know what other options exist?

0 Kudos
Highlighted
Beginner
16 Views

So I guess there isn't any documentation, then?

0 Kudos
Highlighted
Beginner
16 Views

I doubt the compiler does anything with the option(s) other than pass them on to the tool in question (e.g., as or ld) when the tool is invoked, so you probably have to consult the documentation for that particular tool to learn about all the possible options. Since you can also configure the compiler to use non-default versions of the tools (e.g., you could use your own linker if you wanted), I doubt the documentation could cover all the possible situations.

0 Kudos
Beginner
16 Views

That's a good point. But what are the default tools being used, then? I should be able to find documentation on those tools right?

0 Kudos