ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mirko Raner <>
Subject Re: [Ant-contrib-developers] RE: Question about cc task...
Date Thu, 26 Feb 2004 20:08:35 GMT
Could it be that you're using an old version (beta release) of cpptasks 
and struggling with bug #687732?

The version in CVS has that problem fixed for quite a while now...


Dominique Devienne wrote:

>>From: Baz ¤Ñª° []
>>How can I include multiple library path in CC task?
>>I am trying to include libpcap.a from /usr/lib and some other libraries
>>from local build/lib directory. Here is my code and what did i do wrong?
>><target name="compile" depends="prepare">
>>  <cc name="gcc" debug="true" link="executable"
>>      objdir="${outlib.home}"
>>      outfile="${outbin.home}/${}">
>>    <fileset dir="." includes="*.c"/>
>>    <includepath location="../../include" />
>>    <libset dir="../../build/lib" libs="pwcore,pdlb,pcap"/>
>>    <libset dir="/usr/lib" libs="pcap"/>
>>  </cc>
>This looks good to me. What problems do you have exactly?
>Did you try running with -verbose, to see exactly what CppTasks executes?
>Could it be the directory is wrong? (not ${basedir}/../../build/lib?)
>PS: Wrong list to post to ;-)
>SF.Net is sponsored by: Speed Start Your Linux Apps Now.
>Build and deploy apps & Web services for Linux with
>a free DVD software kit from IBM. Click Now!
>Ant-contrib-developers mailing list

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message