Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

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

Yang__Richard
Beginner
128 Views

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
Viet_H_Intel
Moderator
128 Views
Yang__Richard
Beginner
128 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?

Yang__Richard
Beginner
128 Views

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

Jeff_Arnold
Beginner
128 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.

Yang__Richard
Beginner
128 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?

Reply