« Return to Thread: Installation: setting environment variables

Re: Installation: setting environment variables

by Danny Smith :: Rate this Message:

Reply to Author | View in Thread



> -----Original Message-----
> From: mingw-users-bounces@...
> [mailto:mingw-users-bounces@...] On Behalf
> Of Joel C. Salomon
> Sent: Monday, 1 October 2007 7:30 a.m.
> To: MinGW Users List
> Subject: [Mingw-users] Installation: setting environment variables
>
>
> I've just installed MinGW (5.1.3) on a new computer, and am not
> remembering how to set the environment variables.
>
> Mingw is installed to c:\hacking\mingw, so I've set my %path% to
> ...;c:\hacking\mingw\bin;....  Programs are found -- gcc --version
> correctly tells me that 3.4.5 is installed -- but it can't complile,
> telling me that cc1 isn't found.  So I added
> C:\Hacking\MinGW\libexec\gcc\mingw32\3.4.5 to the %path% (which I
> don't remeber doing before!) and now gcc complains "randint.c:1:19: no
> include path in which to search for stdio.h".
>
> What environment variables do I need to set to make things work?
>

Environment variables are not the issue.  The issue is probably that
your new computer has Vista installed.
Search the archives for discussion of the _access() function on Vista.
The solution is to download patched versions of the gcc.exe, g++.exe
drivers that work as expected on Vista.
Danny


> --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