Re: linker error

Eli Zaretskii <eliz-mXXj517/[email protected]> Sat, 18 Jul 2020 09:56:16 +0300
Newsgroups gmane.comp.gnu.mingw.user
Message-ID <[email protected]>
> From: HAROLD ROSENKRANS <[email protected]>
> 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?

_______________________________________________
MinGW-Users mailing list
[email protected]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.osdn.me/mailman/listinfo/mingw-users
Also: mailto:[email protected]?subject=unsubscribe