Set compiler path
For some environments it is necessary to set the path of the compiler. The NAR plugin assumes that the compiler is in the
PATH environment variable. Cygwin for example is using an link to the actual compiler:
$ ls -l /etc/alternatives/ total 12K lrwxrwxrwx 1 devent None 18 Nov 28 09:53 c++ -> /usr/bin/c++-3.exe lrwxrwxrwx 1 devent None 32 Nov 29 03:24 cc -> /usr/bin/i686-w64-mingw32-cc.exe lrwxrwxrwx 1 devent None 33 Nov 29 03:24 cpp -> /usr/bin/i686-w64-mingw32-cpp.exe
This will not work with the NAR-plugin because the shell in which the compiler is executed (Windows cmd.exe) does not understands Cygwin links.
Updated by Erwin Mueller over 8 years ago
We need the possibility to set the compiler path for the compiler name. That should be done outside of the pom.xml because it can differ from system to system. One possibility are properties, or properties files.
The NAR plugin have already the possibility to load custom AOL properties files. We should be able to extend that to add a compiler path.