LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GCC crosstool compiler and libraries (https://www.linuxquestions.org/questions/linux-newbie-8/gcc-crosstool-compiler-and-libraries-756156/)

Citizen9 09-18-2009 06:32 AM

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?

knudfl 09-18-2009 02:11 PM

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.
.....


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