Next: , Previous: Building commands, Up: Building commands


3.1.1 Analysis command

     $ ghdl -a [options] files

The analysis command compiles one or more files, and creates an object file for each source file. The analysis command is selected with -a switch. Any argument starting with a dash is an option, the others are filenames. No options are allowed after a filename argument. GHDL analyzes each filename in the given order, and stops the analysis in case of error (the following files are not analyzed).

See GHDL options, for details on the GHDL options. For example, to produce debugging information such as line numbers, use:

     $ ghdl -a -g my_design.vhdl