configuremingw

Configure Nelson to use MinGW as default C compiler

Syntax

  • [res, message] = configuremingw(mingw_path)

Input argument

  • mingw_path - a string: mingw root path.

Output argument

  • res - a logical: true if MinGW was found

  • message - a string: empty if MinGW was found or an error message.

Description

By default, Nelson has no C/C++ compiler defined as default on Windows.

On others platforms, we will suppose that a C/C++ compiler is always available and it is not required to call this function.

On Windows, you need to call once configuremingw if you want to use MinGW as default C compiler.

Example

configuremingw('c:/mingw')

See also

Supported C/C++ compilers, havecompiler, configuremsvc.

History

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated