Skip to content

Is it possible to build on Windows? #194

Open
@TavaresFilipe

Description

@TavaresFilipe

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions