« Return to Thread: Installation: setting environment variables

Re: Installation: setting environment variables

by Danny Smith :: Rate this Message:

Reply to Author | View in Thread


> I hadn't thought about it as a problem before, but yes, this
> is a Vista machine.
>
> I found
> <http://www.nabble.com/environment-hosed-during-upgrade-t33057
45.html>;
where should I put the xgcc-3.4.5.exe I've downloaded, and should I
rename it to something else?  Is this in fact the patched gcc you were
referring to?

Yes.  Here is a more convenient set of patched binaries, provided by
Brian Dessent, whom I quote:


----------------------------------
If it helps anyone else, I took the three patched drivers that Danny
posted (gcc, g++, collect2) and copied them to their various aliases
(e.g. c++, mingw-g++, etc) and put them in the appropriate directory
structure, and made it a tarball:

http://dessent.net/tmp/gcc-vista-3.4.5-20060117-1.tar.gz

$ tar ztvf gcc-vista-3.4.5-20060117-1.tar.gz
-rwxr-xr-x brian/None    86016 2007-05-18 18:41 bin/c++.exe
-rwxr-xr-x brian/None    86016 2007-05-18 18:41 bin/g++.exe
-rwxr-xr-x brian/None    83456 2007-05-18 18:40 bin/gcc.exe
-rwxr-xr-x brian/None    86016 2007-05-18 18:41 bin/mingw32-c++.exe
-rwxr-xr-x brian/None    86016 2007-05-18 18:41 bin/mingw32-g++.exe
-rwxr-xr-x brian/None    83456 2007-05-18 18:40 bin/mingw32-gcc-3.4.5
-rwxr-xr-x brian/None    83456 2007-05-18 18:40 bin/mingw32-gcc.exe
-rwx------ brian/None    85504 2007-05-18 18:41
libexec/gcc/mingw32/3.4.5/collect2.exe

If you unpack this in your MinGW root folder (e.g. /mingw) just like all
the other gcc-foo tarballs it should install the files in all the right
places.  I tested this on a Vista copy running VMware and it worked fine
for compiling and linking C and C++.
----------------------------------


--Joel

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

 « Return to Thread: Installation: setting environment variables