Link to home
Start Free TrialLog in
Avatar of Mike Paradis
Mike Paradis

asked on

Which Linux flavors will this run on?

We needed to ask a programmer that left us with some code, which flavors of Linux the code would run on. He was not sure but gave us the following.

\\\
I can only tell you that I built it on Debian7 with oldest version of g++ that will compile my code.
This is version 4.6.4 which has some basic (not full, but enough) support for C++ V11.
The code will not compile with anything older than that. In fact
I had to re-write a few things using non C++11 constructs to get it to compile on such an old compiler.
The compiler is dated April 12th 2013, so it should work on all Linux versions the same age or nwere and probably a few older ones but I have no idea which run-time library versions are installed by default on each Linux variant.
///

Using the information above, can you tell me for sure which flavors of Linux this would run on?

I know it runs on centos7, debian7 but what else will it for sure run on.
Avatar of arnold
arnold
Flag of United States of America image

Should in programming is ...

when you have the source code, it can be recompiled.
Fixes/adjustments might have to be made if the source does not include "self-adjusting" based on the platform on which it might be compiled.

Your question deals with you taking the command from the system on which it is compiled and copied to another system in hopes that it will run?

what does the application do?

the issue with newer, at times, some functions are deprecated in earlier versions of g++,gcc and the newest version no longer supports that function....

As long as you have the source and the writeup on what the application should be doing, it should be fairly straight forward to correct an issue if/when arises.
Avatar of Mike Paradis
Mike Paradis

ASKER

Fine, thanks for all the info but that is not my question.

I am asking specifically if you can tell which systems this code will run on.
There is no requirement to explain what the code is to get such an answer as far as I can see.
If you cannot tell me, I am not interested in any other information, only if you know what it will run on.

Sorry, not trying to sound harsh but not really interested in anything but the answer I have asked about. If it cannot be given, then please, there is not reason to reply. I would have included all information that I can.

Thank you.
SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
We don't have the code and even if we did it could take hours of playing with the determine what its dependencies are.  You have basic information - it was built on Debian and compiled with a compiler that's 3.5 years old.  It SHOULD run on any distro based on debian that's 3.5 years old or newer.  Otherwise, it MAY run on other distros but might require tweaking or modification.  The only way to know for certain is ASK THE DEVELOPER, GIVE US ALL THE CODE, or TRY IT.  

Please be realistic with your expectations and requests.
Ok, I better understand now that no one can know and this is an educated guess and not a confirmation of what this would run on.
I guess it means we will need to test on as many systems as possible to better find the answer.

Thank you for all the input.