From: Borut R. <bor...@gm...> - 2011-09-15 20:45:49
|
On 09/15/2011 10:14 PM, Maarten Brock wrote: >> I think that side by side installation is already possible by defining >> different installation directory (not 100% sure, I have to try it) both >> on single platform (32 or 64) and on mixed platform (32 and 64). The >> problem is PATH variable, which can point to only one installation and >> we should decide which one (actually we should decide how the new >> installed path is appended to the PATH variable: at the beginning or at >> the end). > You're right, side by side already works. I took a look to the registry and it seems that also side-by-side installation is not fully supported: you can make a new install in a different directory, but you probably can't uninstall the previous version any more, since the registry is rewritten. To fully support side-by-side installation we should introduce separated registry entries for different SDCC versions... > It is pointless to keep both paths in the PATH variable > as only one will ever work since the binaries have > identical names. This means it doesn't matter if the > path is at the front or the back of the PATH variable. > So if it is chosen to update the path then (even for a > side by side setup) any old SDCC path must be removed > and the new one added. This is not so trivial as it looks: how can the new installation know where the previous installation has been installed? Actually it could with help of registry, but currently this is not implemented. Borut |