[Mingw-users] linker error

Back to archive index
Eli Zaretskii eliz****@gnu*****
Sat Jul 18 15:56:16 JST 2020


> From: HAROLD ROSENKRANS <im_halro****@msn*****>
> Date: Sat, 18 Jul 2020 02:39:46 +0000
> 
> d:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: cannot open output file Hello.exe:
> Permission denied

Did you try doing this in another directory?

And why is your gcc.exe in the same directory where you are trying to
build the Hello problem, as evidenced by this:

> D:\java\gcc HelloWorld.c -o D:\java\Hello.exe 

And finally, what are the owner and access rights to the D:\java
directory?



More information about the MinGW-Users mailing list
Back to archive index