Sisyphus wrote
>
> 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
> ----------------
>
I suspect that the problem is a change in the way that the MSVCRT
function _access() handles the X_OK mode. In earlier versions of MSVCRT
passing X_OK to access was the same as passing F_OK -- the mode was
just ignored. Now, however this result in an error return (invalid
param value). GCC calls access to determine relative prefix of cc1.exe
(ie, the relative path from gcc.exe). Hence the gcc error message.
To fix: gcc driver needs to be recompiled with a patch to avoid use of
X_OK in call to access.
I'll upload a new gcc.exe driver for 3.4.5 ASAP unless someone beats me
to it.
Danny
-------------------------------------------------------------------------
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