LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-18-2009, 07:32 AM   #1
Citizen9
LQ Newbie
 
Registered: Sep 2009
Posts: 1

Rep: Reputation: 0
GCC crosstool compiler and libraries


I have installed libpcap library for a GCC compiler but I am also using a crosstool GCC compiler which resides in a different directory. How can I install libpcap for this other GCC compiler?
Is it possible to use a library path to the installed libpcap library?
 
Old 09-18-2009, 03:11 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Welcome to LQ.

All libraries used by the cross compiler ...
... and used as dependency for cross compiling other
applications ... must be cross compiled to be usable.

And better keep all cross compiled libraries in one
special location like /home/'user'/cross/../lib .. or
/usr/local/cross/../lib . Or together with cross tools.
Then it's easier to point to the libs, when compiling.
.....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Getting a C Compiler error when installing Pear libraries using Pecl Cowgba Linux - Software 2 07-21-2009 11:06 PM
Where does compiler look for libraries when compiling Evolution? dhave Linux - Software 2 01-18-2005 12:22 PM
my compiler problem is in the libraries dogbird Linux - Software 1 11-25-2004 06:01 PM
you have the libraries they require, but the compiler can't see, what to do? sirpelidor Mandriva 2 10-28-2003 04:25 AM
C libraries with GCC compiler Ciccio Programming 2 12-02-2002 12:20 PM


All times are GMT -5. The time now is 06:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration