« Return to Thread: environment hosed during upgrade

environment hosed during upgrade

by Sisyphus :: Rate this Message:

| View in Thread

Hi,
During my upgrade from XP (32) Vista (64) my MinGW folder remained in tact.
But whenever I try to compile a source file, I get:

----------------
C:\_32\C>gcc try.c
gcc: installation problem, cannot exec `cc1': No such file or directory
----------------

So, I ran:

----------------
C:\_32\C>set path=C:\_32\MinGW\libexec\gcc\mingw32\3.4.4;%path%

C:\_32\C>gcc try.c
try.c:1:19: no include path in which to search for stdio.h
----------------

Obviously, some environment settings have been lost in the upgrade. What's
the best way to fix this ?

I can't find a downloadable installer on the download site. I do have the
MinGW-4.1.1.exe on another box. Should I transfer it across and do a fresh
install ? (Preferably, I'll want to stay with 3.4.4.)

But maybe there's a simpler, less drastic solution ?

Here's my 'gcc -v':

-------------------
C:\_32\C>gcc -v
Using built-in specs.
Configured with:
../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host=
mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable
-languages=c,c++,f77,ada,objc,java --disable-win32-registry --disable-shared
 --e
nable-sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --enable-ja
va-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchroniz
ation --enable-libstdcxx-debug
Thread model: win32
gcc version 3.4.4 (mingw special)
-------------------

I also have a second MinGW (3.4.5) installation that came as part of the
Strawberry Perl distribution. It suffers the same problem.

Cheers,
Rob


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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: environment hosed during upgrade