You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Ignacio J. Ortega" <na...@siapi.es> on 2002/06/08 23:38:54 UTC

[JKANT] Resources & Evolution to cpptasks

Hola Costin:

How it goes?

I'm just now trying to get resources linked in by ant, and i'm facing
the some question regarding the linking and compiling of win32
resources, to explain the situation just now:

In CVS we have a *.mc file, this file is compiled by mc.exe and produces
*.rc *.bin *.h, they are generated sources ( including the *.bin one ),
this generated sources serve 2 porpouses to be able to compile the
related *.c files ( the h one ) and later by using the rc.exe compiler,
to produce a *.res file that must be linked in by the link.exe..

Well just now the build.xml file only considers the first pass from mc
-> (h,rc,bin) and i need some advice in what to do to produce the res
file..

I towards augment the msvc compiler adapter to deal with rc files in the
same way it deals now with c ones.. later the linker will need to treat
res and obj files the same.

Another approach? Comments Please

About the SourceForge ant cpptask, after a brief study of their docs, it
seems to me that they have libtool support at least there is a libtool
attribute somewhere :), but not found any reference to res or rc files
there :(.. so I will stick at modiying jkant to suit my needs..


Saludos ,
Ignacio J. Ortega

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [JKANT] Resources & Evolution to cpptasks

Posted by co...@covalent.net.
On Sat, 8 Jun 2002, Ignacio J. Ortega wrote:

> I towards augment the msvc compiler adapter to deal with rc files in the
> same way it deals now with c ones.. later the linker will need to treat
> res and obj files the same.
> 
> Another approach? Comments Please

+1, it should be fine.


> About the SourceForge ant cpptask, after a brief study of their docs, it
> seems to me that they have libtool support at least there is a libtool
> attribute somewhere :), but not found any reference to res or rc files
> there :(.. so I will stick at modiying jkant to suit my needs..

They support libtool, there is a bug that prevent it to work on multiple 
files - at least last time I checked. 

It seems cpptasks is moving pretty well, hope soon we could use it
and maybe merge the netware and gcj compilers. Right now there are several
problems, and I don't want to destabilise the build.

Costin


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>