Find the answer to your Linux question:
Results 1 to 2 of 2
We develop a large application written in C/C++ using quite ordinary system calls and subroutines (we only put -lpthread on the g++ command line for linking). On what packages will ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2004
    Location
    Sweden
    Posts
    1

    choosing linux version for app development


    We develop a large application written in C/C++ using quite ordinary system calls and subroutines (we only put -lpthread on the g++ command line for linking). On what packages will the resulting binary be dependent? I mean, what packages and versions does the user have to install on his/her machine?

    We don't want to force the user to install the latest kernel etc. Still we would like to develop the code on a modern RHEL, test it on say RH 7.3, and then be pretty sure it runs on pretty much anything not too old. Is that possible?

    POF

  2. #2
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    It will generally be things like the version of libc that will have a minimum requirement, as a general rule i would advise allowing the user to download a source tarball and complie themselves rather than distributing as a pre-build binary.

    Of course if you want to go down the binary route, if you compile it statically then your app in theory has no dependencies, but the resulting binary is much larger.

    Jason

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •