« Return to Thread: environment hosed during upgrade

Re: environment hosed during upgrade

by Danny Smith :: Rate this Message:

Reply to Author | View in Thread


> ----- Original Message -----
> From: "Danny Smith"
> .
> >
> > 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.
> >
Attached. This will only work with gcc-3.4.5. Install in same place as
gcc.exe, e.g. /mingw/bin.

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

xgcc-3.4.5.exe.gz (53K) Download Attachment

 « Return to Thread: environment hosed during upgrade