All of lore.kernel.org
 help / color / mirror / Atom feed
From: Axel Siebenwirth <axel@hh59.org>
To: Ray Olszewski <ray@comarre.com>
Cc: linux-newbie@vger.kernel.org
Subject: Re: .so, .a and .o-files
Date: Thu, 15 Aug 2002 19:19:50 +0200	[thread overview]
Message-ID: <20020815171950.GA28935@prester.freenet.de> (raw)
In-Reply-To: <5.1.0.14.1.20020815083919.02181c50@celine>

Hi Ray!

On Thu, 15 Aug 2002, Ray Olszewski wrote:

> .o is an object file. It represents the intermediate step in the 
> compile-and-link process for a program. .so is a shared object file (i.e., 
> a library); their linking (at runtime) is managed by ld.so .

Ok. So I compile from sources many .o's and link them together into an .so
and I have a shared library.

> Depends on how you link. Modern linking is done dynamically (only one copy 
> of the library is loaded into memory and shared by all apps that use it), 
> using .so libraries. Older linking was done statically (each app loaded its 
> own personal copy of the library into memory), using .a libraries.

I figured out that when a program is statically linked, the libraries are in
the executable itself so no additional libraries are required...?

Regards,
Axel
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  parent reply	other threads:[~2002-08-15 17:19 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-15 15:34 (fwd) .so, .a and .o-files Axel Siebenwirth
2002-08-15 15:58 ` Ray Olszewski
2002-08-15 16:17   ` lawson_whitney
2002-08-15 16:45     ` Ray Olszewski
2002-08-15 20:49       ` lawson_whitney
2002-08-15 17:19   ` Axel Siebenwirth [this message]
2002-08-15 17:25   ` Axel Siebenwirth
2002-08-15 18:31     ` Ray Olszewski
2002-08-15 17:31   ` Axel Siebenwirth
2002-08-15 18:28     ` Ray Olszewski
2002-08-15 21:03       ` lawson_whitney
  -- strict thread matches above, loose matches on Subject: below --
2002-08-15 20:31 Axel Siebenwirth
2002-08-15 20:25 Axel Siebenwirth
2002-08-15 16:44 Axel Siebenwirth
2002-08-15 16:19 Axel Siebenwirth
2002-08-15 13:19 Axel Siebenwirth
2002-08-15 13:19 Axel Siebenwirth
2002-08-15 13:44 ` Axel Siebenwirth
2002-08-15 13:44 ` Axel Siebenwirth
2002-08-15 12:31 Ray Olszewski
2002-08-15 12:28 Ray Olszewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020815171950.GA28935@prester.freenet.de \
    --to=axel@hh59.org \
    --cc=linux-newbie@vger.kernel.org \
    --cc=ray@comarre.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.