LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-09-2003, 09:29 PM   #1
james_cwy
Member
 
Registered: Nov 2003
Posts: 52

Rep: Reputation: 15
What is a statically compiled binary?


Thanks for the replies earlier.
What is a statically compiled binary?
How do I create/make it?

Thanks
James
 
Old 11-09-2003, 09:41 PM   #2
Eqwatz
Member
 
Registered: May 2003
Distribution: Slack Puppy Debian DSL--at the moment.
Posts: 341

Rep: Reputation: 30
A statically compiled binary means that the Shared Object files are part of the program. So, it is independent of any upgrades you make to the O.S.

You end up with larger applications, but they are more robust, and have no outside dependencies. It is a "flag" (or however you want to call it) passed to the compiler when you compile a package from source.

man make; man gcc; man all sorts of things. Then, after getting confused google.com/linux it.
 
Old 11-09-2003, 09:55 PM   #3
james_cwy
Member
 
Registered: Nov 2003
Posts: 52

Original Poster
Rep: Reputation: 15
Thanks for the help.
I am confused about what you said
"man make; man gcc; man all sorts of things. Then, after getting confused google.com/linux it."
How can I make a statically compiled binary?
 
Old 11-09-2003, 11:37 PM   #4
Eqwatz
Member
 
Registered: May 2003
Distribution: Slack Puppy Debian DSL--at the moment.
Posts: 341

Rep: Reputation: 30
"man" is the command on the command-line for the online manual pages. So I was telling you to read the man-pages on "make" "gcc" and "any other related commands or files you can think of".

I was also telling you to http://www.google.com/linux for anything you could think of like "static compile of packages".

Another great source for stuff is the Linux Self Help website.

Since so many distributions offer automated updates, and I don't have any non-standard packages at present--I no longer use static compiled packages. It turned out that many of the things I did for security in the past would leave me vulnerable today. There are too many kids reading all of the source code looking for anything they can "crack".

I have used up2date on redhat and replaced a lot of the stuff on RH 9.

With static applications up2date and its equivalents don't work. They seem to be set up for the default type of installs--which use shared objects.
 
Old 11-09-2003, 11:51 PM   #5
james_cwy
Member
 
Registered: Nov 2003
Posts: 52

Original Poster
Rep: Reputation: 15
THanks Eqwatz. Really appreciate it
 
  


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
configure options for compiled binary twantrd Linux - General 3 06-28-2010 10:27 AM
is there a compiled binary package of anjuta 2.0.1 in SLES 9? hongxing SUSE / openSUSE 2 10-13-2005 08:40 AM
Creating binary RPMS statically! Sunilsbjoshi Linux - Software 2 10-12-2005 01:10 AM
Gnucash statically linked binary melinda_sayang Slackware 7 07-11-2004 03:32 AM
installing opera tar.gz pre-compiled binary ronss Linux - Software 1 09-05-2002 09:16 AM


All times are GMT -5. The time now is 04:36 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