Re: Custom compilers?

Roman Kennke <[email protected]> Wed, 25 Jun 2008 21:54:43 +0200
Newsgroups gmane.comp.java.ant-contrib.devel
Message-ID <1214423683.6467.34.camel@moonlight>
Hi Mirko,

> it's definitely possible, but you'd have to write your own cpptasks compiler
> adapter.

Interesting. Do you think it is possible to write one adapter that can
be configured (e.g. reads all necessary information like
path-to-executable from properties, etc)? Or do I need to write one
adapter for each and every cross-compilation-chain I have here (many!)?
Maybe I can reuse existing adapters (most are GCC derived, some VC
derived and very few more exotic things) and make them configurable (to
find the executable, set cross-compilation flags, etc? Or can I already
do this with the existing adapters?

Cheers, Roman

>  I did exactly that a few years ago, also for an embedded device. My
> company planned to officially open-source the code, but the project was
> never completed. The source code is still online at
> http://osdir.com/ml/java.ant-contrib.devel/2003-12/msg00022.html (at least
> it was last time I checked).
> 
> HTH,
> 
> Mirko
> 
> Quoting Roman Kennke <[email protected]>:
> 
> > Hi there,
> >
> > I'm evaluating ant and ant-contrib as a replacement for the build
> > infrastructure of a project at my workplace. One thing I'm not sure is,
> > can I use the cc task with custom compilers? I.e. a compiler in a custom
> > location with its own set of flags etc, stuff for some more weird
> > embedded systems. How would I go about doing that?
> >
> > Cheers, Roman
> >
> > --
> > http://kennke.org/blog/
> 
-- 
http://kennke.org/blog/

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

_______________________________________________
Ant-contrib-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ant-contrib-developers
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBIYqKDu8ApkxNPXNERAgc5AKDe8b00NMc2oHIaFzEhkWwi2eBmKgCeP7hb
GhAXLd3oTA4Rjt+qVl6Rb8c=
=Ub+W
-----END PGP SIGNATURE-----