For concurrent development reason I need to come up with a way to have two different X-VR2 (with different versions an ABIs) installations, there is no problem in having different shared libraries but for the headers there is a problem, since all headers start from the xvr2/ directory how can I have multiple instances installed?
Well one way would be to invoke configure and install everything under different prefixes, which is nice, I could have both libraries and build different applications in the same machine which is way good, easy and painless.
The other way would be to do what the GTK+ guys did when they released Gtk+2 and that was to append the number 2 to headers prefix directory as well as in the library naming, that allowed them to have both versions installed for development while keeping all headers and libraries installed within FHS compatible directories.
Don't know which of those two I'll follow, but for sure I'll be using option #1 for now, time will tell if I should follow option #2.
No comments:
Post a Comment