Next: , Previous: GHDL options, Up: Invoking GHDL


3.3 Passing options to other programs

These options are only available on GNU/Linux.

For many commands, GHDL acts as a driver: it invokes programs to perform the command. You can pass arbitrary options to these programs.

Both the compiler and the linker are in fact GCC programs. See GCC options, for details on GCC options.

-Wc,OPTION
Pass OPTION as an option to the compiler.
-Wa,OPTION
Pass OPTION as an option to the assembler.
-Wl,OPTION
Pass OPTION as an option to the linker.