LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   static build of application (https://www.linuxquestions.org/questions/programming-9/static-build-of-application-417883/)

cranium2004 02-21-2006 03:29 AM

static build of application
 
Hello,
On Fedora core 4, i want to create my application binary as static binary. how can i do that? is that be possible as i must be having dynamic libraries on my system?

-X- 02-21-2006 09:39 AM

What kind of app? Ada, Basic, Pascal, Python, C, C++ ? Static lib end with .a For C++ ;

g++ -static app.cpp -o app

man <some compiler>

cranium2004 02-21-2006 10:01 PM

its c++ application and i have Makefile


All times are GMT -5. The time now is 04:53 AM.