Using mingw with cpptasks

"Bailey, Darragh" <[email protected]> Tue, 20 Jul 2010 15:41:44 +0000
Newsgroups gmane.comp.java.ant-contrib.devel
Message-ID <FF452E17060D614D89BF7FD3A07A88334FAAD86774@GVW1115EXC.americas.hpqcorp.net>

Wondering if it is possible to use mingw with cpptasks? =


Since mingw is really just a modified version of gcc I would expect that it=
 can as cpptasks handles gcc already, however since in some cases Linux dis=
tributions use different names for the mingw gcc, i.e. x86_64-pc-mingw32-gc=
c, how can I get cpptasks to use the mingw one instead of the system defaul=
t gcc?

Right now all I can do is create symlinks under a local directory (i.e. gcc=
 -> /usr/bin/x86_64-pc-mingw32-gcc) and use PATH to make sure the mingw gcc=
 is called before the standard gcc. Which is not particularly ideal.

Any better solutions available?

--
Regards,
Darragh Bailey

Systems Software Engineer
Hewlett Packard Galway Ltd.

Postal Address:=A0=A0=A0 Hewlett Packard Galway Limited, Ballybrit Business=
 Park, Galway
Registered Office: Hewlett Packard Galway Limited, 63-74 Sir John Rogerson'=
s Quay Dublin 2
Registered Number: 361933 =




---------------------------------------------------------------------------=
---
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first