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 597851
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T16:19:31+00:00 2026-05-13T16:19:31+00:00

I am writing a program in unix. At the moment, it has a console

  • 0

I am writing a program in unix. At the moment, it has a console interface. I am just curious like dll’s in windows does a similar concept exist in unix when another program wants to call your program. I have been asked to simply provide a binary with little else in terms of details. I have a feeling that there might be another program that might be calling this. So if I go with that what would I need to do? I cannot share source. I can only provide a compiled binary (which i am a bit confused about as well…when we talk about binary in unix that means that some are executable while others are not. In the case of my program I assume its an executable they are asking for at least till I get a confirmation). would i need to do anything special like provide api’s like they do with dlls? i am just not sure how that all works out in unix.

  • 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-13T16:19:31+00:00Added an answer on May 13, 2026 at 4:19 pm

    The unix equivalent of a Windows dll is a shared library, e.g. libfoobar.so.

    With regards to how to distribute your code to a third party in binary form your options are:

    1. a static library: libfoobar.a
    2. a shared / dynamic library: libfoobar.so
    3. an executable

    The first two cases are effectively the same. People tend to prefer dynamic libraries these days, because the library code can be shared by multiple executables making both the size of the executables and the amount of memory required smaller.

    In both cases the user of your code will have to write their code to use your API, and they need to compile their code against your library.

    In the third case you would provide the third party with an executable that they run. They would call into your application via some sort of Inter process communication mechanism, e.g. pipes or shared memory, or over the network, e.g. UDP or TCP as a low level mechanism, or some sort of RPC mechanism like SunRPC, SOAP, HTTP, REST, what have you.

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

Sidebar

Related Questions

I am writing a cross-platform C++ program for Windows and Unix. On the Window
I am writing a program which has two panes (via CSplitter ), however I
I'm writing a program that contains a generational garbage collector. There are just two
I am writing a program that does a lot of writes to a Postgres
I am writing a C UNIX program that is threaded and shares one variable
In Java, of course. I'm writing a program and running it under a Windows
How can one loop a command/program in a Unix shell without writing the loop
I'm writing program in C# for converting between model formats. The model format has
HI I'm writing a program that acts as a server and has the ability
I'm writing a program that has two main functions. Each of the functions will

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.