Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7575863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T16:46:59+00:00 2026-05-30T16:46:59+00:00

I know that source code can be compiled and linked to shared/static library or

  • 0

I know that source code can be compiled and linked to shared/static library or ELF executable files. And when program runs, it loads into memory and creates a process image according to ELF format. But I am not sure how programs loading shared libraries. How a linker looking for symbols in extern libraries and how the .a archive works. What else should I know if program runs on 64 bit OS?

I am trying to draw a whole picture of it. Can someone give a general talk about the whole thing and gives references/documents/llinks so I can study them one by one.

Thanks in advance.

I think my question can be described as:

Under Linux, How C++ source code becomes executable files or static/dynamic libraries. And how a program get loaded into memory when it runs. In GREATE details!

And how many tools I can use to examine/manipulate the Linux binary files(executable files and libraries)? I know some as “nm” “readelf”.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T16:47:00+00:00Added an answer on May 30, 2026 at 4:47 pm

    You could read:

    • the Assembly HowTo
    • From Powerup to Bash prompt
    • Wikipedia about system calls, Linux kernel, Virtual memory, address space, Process, Compiler, Linker, Assembly language, GCC, ELF
    • Levine’s book on Linkers and Loaders
    • x86-84, notably about the x86-64 ABI specification
    • the Advanced Linux Programming book
    • several syscalls(2) man pages, notably intro(2), execve(2), mmap(2), fork(2)
    • ELF virus writing howto
    • GCC documentation (notably internals)
    • Binutils documentation
    • Program Library Howto
    • Drepper’s paper: how to write shared libraries

    and good books about Linux kernel & application programming.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If you are familiar with TopCoder you know that your source-code gets a final
I know that being open source does not necessarily makes a program more/less secure
I know I can get the assembler source code generated by the compiler by
I know that table sources need a data source to hold the data that
I know that there's a lot of free open source blog engine out there
We use Source Safe and are migrating to Source Gear. We know that we
Are there any open-source libraries that all programmers should know about? I'm thinking something
https://search.twitter.com/search.json?q=doug How do I read this like VIEW SOURCE, so that I know what
Does anyone know of any free or open source terminal emulators that will emulate
I know that I can do something like $int = (int)99; //(int) has a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.