Support for specifying path to compiler executable
Dave Trombley <[email protected]> Mon, 5 Dec 2011 21:30:19 -0500
| Newsgroups | gmane.comp.java.ant-contrib.devel |
|---|---|
| Message-ID | <CACggcZSiLGHSvV+VYQ1iLv7U5KESxjisHUc_pfFVckP0DrV0Sg@mail.gmail.com> |
--===============7428509840333520684== Content-Type: multipart/alternative; boundary=20cf303dd522656b7f04b363377d --20cf303dd522656b7f04b363377d Content-Type: text/plain; charset=ISO-8859-1 Hi all - Is there current support in the cc or compiler tags for specifying the exact path (including binary name) of the compiler binary to use? Usually this will just be the name of the compiler flavore (eg. 'gcc'), but I've run into one use case already where this will not work - namely using Netbeans on Cygwin/Windows and trying to start a g++ instance through ant/cpptasks: Cygwin installs g++ as a symlink, which works fine from the Cygwin command line, but cpptasks calls the Win32 CreateProcess() which doesn't know anything about Cygwin and fails. It would be great to be able to say <cc ccpath="/usr/bin/gcc++-3.exe"/> or something like that. Workaround involves parsing the output of an 'ls' command - less than savory. -David --20cf303dd522656b7f04b363377d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all -<br><br>=A0=A0 Is there current support in the cc or compiler tags = for specifying the exact path (including binary name) of the compiler binar= y to use?=A0 Usually this will just be the name of the compiler flavore (eg= . 'gcc'), but I've run into one use case already where this wil= l not work - namely using Netbeans on Cygwin/Windows and trying to start a = g++ instance through ant/cpptasks:=A0 Cygwin installs g++ as a symlink, whi= ch works fine from the Cygwin command line, but cpptasks calls the Win32 Cr= eateProcess() which doesn't know anything about Cygwin and fails.=A0 It= would be great to be able to say <cc ccpath=3D"/usr/bin/gcc++-3.ex= e"/> or something like that. =A0=A0 <br> <br>=A0=A0 Workaround involves parsing the output of an 'ls' comman= d - less than savory.<br><br>=A0=A0 -David<br>=A0<br> --20cf303dd522656b7f04b363377d-- --===============7428509840333520684== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ --===============7428509840333520684== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Ant-contrib-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ant-contrib-developers --===============7428509840333520684==--