LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 10-24-2011, 09:27 PM   #1
vip2442
LQ Newbie
 
Registered: Sep 2011
Posts: 21

Rep: Reputation: Disabled
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
 
Old 10-26-2011, 09:31 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Hello,

I am reporting this thread to be closed, since it is a duplicate of the following thread - https://www.linuxquestions.org/quest...-devel-910055/

Cheers,

Josh
 
Old 10-27-2011, 01:58 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Closing the original in favour of the more sensibly placed dupe.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error building cross gcc-3.3.2 for i386-mingw32msvc target ugenn Linux - Software 2 10-05-2012 02:33 AM
cannot find -lpcap nasim751 Linux - Software 2 02-14-2008 08:13 AM
new version of lpcap? cynthia_thomas Programming 1 01-22-2006 02:04 AM
How to uninstall lpcap Hammo Linux - Software 0 01-06-2004 04:18 AM
gcc-3.1-1mdk.i586.rpm aizkorri Linux - Software 7 08-20-2002 02:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration