ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Baz ¤Ñª° <sky_f...@yahoo.com>
Subject Question about cc task...
Date Thu, 26 Feb 2004 01:34:39 GMT
All,

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?

Thanks

Barry


<target name="compile" depends="prepare">

        <cc name="gcc" link="executable" objdir="${outlib.home}" 
debug="true"
                outfile="${outbin.home}/${app.name}">

                <fileset dir="." includes="*.c"/>

                <includepath>
                <pathelement location="../../include"/>
                </includepath>

        <libset dir="../../build/lib" libs="pwcore,pdlb,pcap"/>
        <libset dir="/usr/lib" libs="pcap"/>

        </cc>

</target>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message