i586-mingw32msvc-gcc and -lpcap
Hi there,
I compile and run libpcap c files using
#gcc file.c -lpcap
and it works fine, now I want to make the c file as .exe to run it on windows so i'm trying
#i586-mingw32msvc-gcc -o file.exe file.c -lpcap
but I don't know how to link it to libpcap libraries !!
any idea ?
Thanks
|