mario-head icon indicating copy to clipboard operation
mario-head copied to clipboard

Can't run "pacman -S mingw-w64-gcc"

Open SilentSword123456 opened this issue 1 year ago • 5 comments

i run into a problem. after i installed MSYS2 on my windows 11 computer i tried to run "pacman -S mingw-w64-gcc" but i get an error message:

$ mingw-w64-i686-make -bash: mingw-w64-i686-make: command not found

could you please help me on how to resolve this ?

Thanks.

SilentSword123456 avatar May 18 '24 19:05 SilentSword123456

ah thank you for reminding me, you must also install mingw-w64-make using pacman with the same command, pacman -S mingw-w64-make

after that, all should go smoothly, i need to add a mention for that in the README

bemxio avatar May 18 '24 23:05 bemxio

And i also can't run the command "pacman -S mingw-w64-gcc" nor "pacman -S mingw-w64-make", gives the same error: $ pacman -S mingw-w64-gcc error: target not found: mingw-w64-gcc

$ pacman -S mingw-w64-make error: target not found: mingw-w64-make

Can you help me again please? Thank you.

SilentSword123456 avatar May 19 '24 06:05 SilentSword123456

hmm, what about mingw-w64-i686-gcc and mingw-w64-i686-make? metapackages should install correctly but maybe something was changed along the way and now you cannot do that

bemxio avatar May 19 '24 10:05 bemxio

Thank you, but I still can't run the command :"pacman -S mingw-w64-gcc", it gives the same error message: $ pacman -S mingw-w64-gcc error: target not found: mingw-w64-gcc

What can I do?

SilentSword123456 avatar May 19 '24 19:05 SilentSword123456

try to install the packages i mentioned above then, mingw-w64-i686-gcc and mingw-w64-i686-make if that doesn't work out i'll need to try to compile the project via MSYS2 myself

bemxio avatar May 19 '24 19:05 bemxio