<DIV>Hi,<BR>&nbsp; I have developed an api in C using cygwin libraries.&nbsp; Now i dont want <BR>to use cygwin1.dll in my librarary.<BR> <BR>I have developed an API which includes socket programming /sys/socket.h <BR> <BR>In my code,<BR>I have added <BR>#ifdef WIN32<BR>#include &lt;winsock.h&gt;<BR>#else<BR> <BR>#include&lt;sys/socket.h&gt;<BR>and rest of the header files.<BR> <BR> <BR>I wanted to use -mno-cygwin option when compiling and linking.<BR> <BR> <BR>when I compile I issue this command<BR>gcc -c -mno-cygwin hello.c<BR> <BR>when I link<BR>gcc -o hello -mno-cygwin hello.o<BR> <BR>it gives me error messages since it cannot find the socket related <BR>calls.<BR>I dont want a dll dependency on cygwin1.dll.<BR> <BR>How do i do this.&nbsp; what should be done, any help is aprreciated.<BR> <BR>regards,<BR>Vijay.A<BR></DIV><p>
                <hr size=1>Find your next car at <a href="http://autos.yahoo.ca"><b>Yahoo! Canada Autos</b></a>