Project

General

Profile

Feature #1831

Set compiler path

Added by Erwin Mueller over 8 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
Erwin Mueller
Target version:
Start date:
12/04/2012
Due date:
% Done:

0%

Estimated time:
Type:

Description

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.

History

#1

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.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 125 MB)