[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Installing WinAVR 20070122 broke older 3.4.5install?
From: |
Bob Paddock |
Subject: |
Re: [avr-gcc-list] Installing WinAVR 20070122 broke older 3.4.5install? |
Date: |
Wed, 31 Jan 2007 14:15:07 -0500 |
User-agent: |
Opera Mail/9.10 (Win32) |
On Wed, 31 Jan 2007 13:21:59 -0500, Eric Weddington
<address@hidden> wrote:
C:\WinAVR is the "prefix" path that I mentioned, where I install WinAVR
when I build it. Yes, it *is* hard-coded into GCC. There's nothing I can
do about that. :-/
With GCC all is possible. :-)
The solution to running multiple versions:
Install WinAVR to the directory that you want.
In my case G:\WinAVR345 and G:\WinAVR411, for
the respective versions. IT department doesn't want stuff
installed on C:\ in my case. Then Delete the registry keys (and reboot),
so there
is no confusion between 4.x.x vs 3.x.x et.al.
Then use the 'Junction' program from here:
http://www.microsoft.com/technet/sysinternals/FileAndDisk/Junction.mspx
to make a virtual C:\WinAVR symbolic link via:
junction -s C:\WinAVR G:\WinAVR345
which should then result in:
Created: C:\WinAVR
Targetted at: G:\WinAVR345
Example batch files:
setup345.bat:
PATH=G:\WinAVR345\BIN;\WinAVR345\UTILS\BIN;%PATH%
junction -s C:\WinAVR G:\WinAVR345
setup411.bat:
PATH=G:\WinAVR411\BIN;G:\WinAVR411\UTILS\BIN;%PATH%
junction -s C:\WinAVR G:\WinAVR411