Share September 2005: Project of the Month

MinGW - Minimalist GNU for Windows

Tracker: Support Requests

5 Vista RTM issue: built-in paths not honored - ID: 1605819
Last Update: Comment added ( stknut )

There are definitely a number of issues when running under Vista RTM. Here
is the first. Apart from a Closed issue below, I can find no references to
solutions to this problem here or on the wiki.

The "built-in" paths for binaries, includes, and libs are not being used at
all. This leads to the cannot exec 'cc1.exe' error when trying to run
gcc.exe. You can work around this problem by explicitly adding
%MINGW%\libexec\gcc\mingw32\3.4.5 to your PATH.

Once past that problem, any code you compile will not find system-wide
header files because %MINGW%\include and
%MINGW%\lib\gcc\mingw32\3.4.5\include are not being handled properly. You
can work around this by explicitly adding those paths via the -I command
line option.

Once past that problem, you won't be able to link against the system-wide
libraries and runtime files. You can work around this by copying
%MINGW%\lib\crt*.o to the build directory and explicitly specifying
%MINGW%\lib and %MINGW%\lib\gcc\mingw32\3.4.5 via --libpath.

These path problems are all probably related to each other. I'd be happy to
test fixes or even look into them myself if someone more familiar with the
code could point me in the right direction.


Aaron Giles ( aarongiles ) - 2006-11-30 04:41

5

Open

None

Nobody/Anonymous

MinGW

None

Public


Comment ( 1 )

Date: 2006-12-12 01:15
Sender: stknut


Bug [1593268] is a duplicate of this. the cause of the problem is removal
of X_OK support in the access() call. See my followup in bug [1593268].


Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.