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

  • Home
  • SEARCH
  • 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 9212895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T01:37:40+00:00 2026-06-18T01:37:40+00:00

I am new in C programing.I have no Idea about .so files. what is

  • 0

I am new in C programing.I have no Idea about .so files. what is the need of it ? how can I create it ? how to bind my C code or Binary with it ? If I don’t make any .so file and directly make executable binary of C code what are the PROS and CONS of it ? need a detail description of it.

  • 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-06-18T01:37:41+00:00Added an answer on June 18, 2026 at 1:37 am

    .so files are shared objects. Usually shared libraries are made as .so.

    By making a library a .so you achieve efficiency in memory usage. i.e. when multiple applications which use the library are running, the library is loaded into the memory only once as opposed to the case of static libraries.

    Creation of dynamic library:

    gcc -Wall -fPIC -c *.c
    gcc -shared -Wl,-soname,libctest.so.1 -o libctest.so.1.0   *.o
    

    -fPIC: Compiler directive to output position independent code, a characteristic required by shared libraries.

    -shared: Produce a shared object which can then be linked with other objects to form an executable.

    You can find more information here.

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

Sidebar

Related Questions

I am new to programing and I have some difficulties getting AlertDialog working. I
I am new to web programming...I have been asked to create a simple Internet
I'm new to PHP programming and have poor knowledge about it, but I want
I am new to C++/Python mixed language programming and do not have much idea
I'm sort of new to programming with CoreData, so I have no idea how
I have an idea for a web service, but am very new to web
I'm fairly new to Haskell and have been slowly getting the idea that there's
I need an advice about USB programming in linux. i have to design a
I am very new to programming and have a question about using variables in
I have an interesting idea for a new programming language. It's based on 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.