gcc-python-plugin icon indicating copy to clipboard operation
gcc-python-plugin copied to clipboard

Is it possible to build on Windows?

Open TavaresFilipe opened this issue 1 year ago • 0 comments

Hi,

I'm trying to use the plugin on Windows. I installed the make using Chocolatey, but I'm getting the following error when trying to run the make plugin command:

File "path\gcc-python-plugin\generate-config-h.py", line 125, in ch.main() File "path\gcc-python-plugin\generate-config-h.py", line 40, in main plugindir = self.capture_shell_output('locating plugin directory for %s' % self.gcc, File "path\gcc-python-plugin\configbuilder.py", line 161, in capture_shell_output out = check_output(cmd, File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 420, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 524, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'cc --print-file-name=plugin' returned non-zero exit status 1. make: *** [Makefile:186: autogenerated-config.h] Error 1

I would like to know what is the problem, and if it's possible to build this on Windows?

Using GCC 9.2.0.

TavaresFilipe avatar May 16 '23 12:05 TavaresFilipe