Noeud: command dyacc, Noeud « Next »: , Noeud « Previous »: Using DyALog, Noeud « Up »: Using DyALog



Dyacc

The PERL script dyacc is a frontend to dyalog, dyam2asm, and gcc. An analysis of the command line is done to correctly forward the options to the different commands.

To use dyacc, issue the shell command:

     dyacc [options | files]... [-- cc-options-and-files ]
     

where the possible options are


-c
Compile or assemble the source files, but do not link. The compiler output is an object file corresponding to each source file.
-dev
To be used when DyALog is not installed (development mode)
-I path
Add path to the set of pathes used by dyalog to find files.
-ma
Compile DyALog source files, but do not call dyam2asm or gcc.

By default, dyacc makes the object file name for a source file by replacing the suffix `.pl' with `.ma'. Use `-o' to select another name.

-o file
Place output in file. This applies regardless to whatever sort of output dyacc is producing.
-parse
Set option -parse for dyalog
-pl-ext suffixe
Specify an extra suffixe for Prolog files
-save-temps
Keep intermediate files (.ma and .s) but do not transmit the option to gcc.
-v
Print (on standard error output) the commands executed to run the stages of compilation.
-x lang
Specify explicitly the language for the following input files (rather than choosing a default based on the file name suffix). This option applies to all following input files until the next `-x' option. Possible values of language are `pl', `ma', and `none' (to reset).
--
Mark the end of DyALog options. Everything on the right is passed to gcc and not considered as a dyacc option.