Binary compatibility on Linux
Jordi Sayol
g.sayol at yahoo.es
Sat Nov 10 10:49:58 PST 2012
Al 10/11/12 16:40, En/na Jacob Carlborg ha escrit:
> What's the best way to achieve binary compatibility on Linux? For example, if I compile an application on, say Ubuntu 12.04, it will most likely not run on any older versions of Ubuntu but it will run on future versions.
>
> My current approach to solve this is to compile the application in the oldest version of Ubuntu I can find, in this case 6.x. This is starting to get a bit problematic:
>
> * The integration with VirtuaBox (I'm running Ubuntu as a guest) is pretty bad
> * DMD won't run of out of the box, I need to compile it. This is also making DVM basically useless
> * I can't clone the dlang repositories due to having a very old version of git installed
> * I can't compile git, I haven't investigated in why but probably due to the system is too old
>
> Is there some compiler/linker flags I can use when building to make the executable compatibility with older versions of Linux?
>
> Or is there a better way to solve this?
>
Ubuntu 10.04.4 LTS is old enough?
You can install/run dmd out of the box on it just installing the appropriate deb package.
--
Jordi Sayol
More information about the Digitalmars-d
mailing list