Polychrony


FAQ


Access troubles



How to compile generated code

The Polychrony distribution provides some utilities to compile the generated code.
The command
genMake <TARGET LANGUAGE> FOO
with <TARGET LANGUAGE> ::= C | C++ | Java
is a makefile program generator for a Signal program (called FOO here). It generates a makefile file that may be used to produce executable.
This utility assumes the availability of some softwares such as make command, compilers, linker...
  • On UNIX® Systems Linux, SunOs, MacOs), we suppose that
    • the make command is available.
    • the gcc/g++ compiler (Gnu C/C++ Compiler) is available. It is used when the target language is C (resp. C++).
    • the javac compiler is available. It is used when the target language is JAVA. This command is provided with the JDK distribution.
  • On Windows System, we suppose that
    • the nmake command is available.
    • the cl (Visual C/C++ Compiler) is available. It is used when the target language is C (resp. C++).
    • the javac compiler is available. It is used when the target language is java. This command is provided with the JDK distribution.
    nmake and cl are provided with the Microsoft® Visual C++ environment.
The user can modify the generated file to adapt it to its own configuration.


Known bugs