LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need help with multilib compilation (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-with-multilib-compilation-876287/)

muruthegun 04-21-2011 04:04 AM

Need help with multilib compilation
 
Does anybody have any idea how one would go about performing multilib compilations (my google-fu is running low today). Basically, I need to compile a library for different kernel versions and i'm thinking multilib is the way to go. Any pointers and/or tutorials on this is much appreciated.

Bikeros 04-26-2011 05:37 AM

Re: Need help with multilib compilation
 
Hi.

This is about compiling and running multilib between different architectures ( 32 / 64 bit ):

If You want to build for different libs / kernel version just change the include/library paths in Your build scripts
Parameters for gcc like -i -L -I most likely are configured in makefiles. Also read man for gcc and make.

You can have many different versions of same libs/sources installed in the system, same goes for different kernels and kernel sources.

Hope it helps.


All times are GMT -5. The time now is 10:35 AM.