#is anyone here today proficient in
1 messages · Page 1 of 1 (latest)
our main build system is able to successfully build this but it doesn't use MSVC and rather uses msys2. I copied basically everything relevant to make a minimal environment but this is failing (Python 3 works fine). I noticed that the other builder sets CFLAGS="-std=c99" https://github.com/DataDog/datadog-agent/blob/f58d4b324da45bb6dabed5994d3edf90986d6cfc/omnibus/config/software/datadog-agent-integrations-py2.rb#L148-L158 so I tried what I thought looked like the equivalent flag but as you can see in the error the Python 2 linker is so old that it doesn't have flags
I would prefer to continue using MSVC since everything else works fine but I might be forced to switch if I can't get this working
I have no idea how this is working currently so it must be the case that msys2 is magically making it work
just I see no reason to use it really for us so I would be quite bummed out if I had to switch compilers just for this issue, just for a version of Python that we are about to deprecate
Most likely some sort of include path issue; this is very finicky too, maybe not even related to the compiler but just your environment.
any pointers on what to do next?