The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Still unable to compile pro*c program satvd Shell Programming and Scripting 1 05-20-2008 06:47 AM
compile a c program djehresmann High Level Programming 8 02-22-2008 09:18 AM
How to compile a c program by using gcc Bell High Level Programming 5 05-14-2006 04:27 PM
HOw to load dynamic lib from a statically linked program ? disclaimer High Level Programming 1 03-21-2005 02:44 PM
how to compile a program CmpKillr High Level Programming 2 04-07-2003 02:57 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-31-2006
Registered User
 

Join Date: Sep 2005
Posts: 13
how to compile a program statically

how can i do static compilation in cc and -lldap
i have system defined and user defined header file.
Can any one suggest any site where from i can get some information about static and dynamic compilation.

Thankx
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-31-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,858
It depends on the compiler. Try man cc, search in the output for static - most implementations of man let you search for a word with /<word>, then hit return. THe < > symbols are not used, just there for clarity.

What compiler on what unix ( ie., cc on HPUX 11.0, gcc on Redhat Linux 7.2)?
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:08 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0