Web lists-archives.org

Re: [Mingw-users] 3.4.5 mingw-vista special r2 still broken on Vista




----- Original Message ----- 
From: "Luis Lavena" <luislavena@xxxxxxxxx>
.
.
> Using these packages on Windows XP SP2 works without issues, but under
> Vista got the old cc1 not found error or the missing header files.

I thought there were some binaries at 
https://sourceforge.net/project/showfiles.php?group_id=2435 (that included 
"vista" as part of the filename) that addressed this issue. But I don't see 
them. (Have they gone ? ... or were they never there ?)

>
> I cannot build MinGW from scratch since I'm using it to bootstrap a
> Ruby on Windows implementation called One-Click Installer.
>
> Is there any other workaround?
>

Try:
1) Add C:\MinGW\libexec\gcc\mingw32\3.4.5 to your path.
2) Set the CPATH environment variable to C:\MinGW\include
3) Set the LIBRARY_PATH environment variable to :
    C:\MinGW\lib;C:\MinGW\mingw32\lib;C:\MinGW\lib\gcc\mingw32\3.4.5

The same approach worked for me wrt the 64 bit build of version 4.4.0 (where 
I faced similar issues on Vista).

If you still get executables/headers/libraries not found, then it may just 
be a matter of adding another directory to your path/cpath/library_path 
environment variable.

For example, I had to add the equivalent of MinGW\mingw32\include to my 
CPATH with 4.4.0 - but the comparable directory doesn't exist for me with 
3.4.5.

I haven't tried the above hack with 3.4.5 at all.

Cheers,
Rob 


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

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