Forum Thread: My Cpp Code Compiled Witch Gcc Can't Run on Windows

Everytime i want to shellter an exe i have to do it in codeblocks get the ex from debug folder and upload it in kali. Why can't i use a gcc compiled in kali exe ?

when i try to run it ot windows it says sorry this app can't run on your pc

2 Responses

The GCC on Kali is probably compiling your executable to ELF. Windows uses PE. AFAIK there is a cross-compiler for Debian called MinGW which can compile your binaries on Kali into PE.

I tried to install MinGw but i get a error

Share Your Thoughts

  • Hot
  • Active