Will the compiled version run in Ubuntu 12.04?

Made a simple c++ program and compiled in Ubuntu 14.04
Will the compiled version run in 12.04?
Yes. You'll need dependent packages installed and so on.
Last edited on
kbw, Which ones?
Made a simple c++ program and compiled in Ubuntu 14.04
Will the compiled version run in 12.04?

Maybe, maybe not. If your program accidentally relies on undefined behavior then it might not. You'd be surprised how many programs work by accident.
Which ones?

It depends on what you created. Run ldd on with your program as the argument. That'll tell you what libraries it links with. The rest ... I dunno; again, it depends on what you created.
By default, yes. I have try it.
Ubuntu equipped with gcc compiler as many Linux distribution, and it is one of the best.
Thanks, mates
Topic archived. No new replies allowed.