Open gvanem opened 2 years ago
From tip of
master
yesterday.
Did you mean main
? master
is defunct.
We do build on Windows as part of our CI checks with MSYS, see here: https://github.com/adafruit/circuitpython/blob/main/.github/workflows/ports_windows.yml Is there something different with what you are doing?
We do build on Windows as part of our CI checks with MSYS,
MSYS does not normally use (or need) a LIB
env-var, does it? Like I wrote LIB
is a MSVC (+Borland, Watcom) thing.
Try adding a MAKEFLAGS += --warn-undefined-variables
to py/mkenv.mk
.
Then watch all the warnings. In a CI job a warning: undefined variable 'LIB'
would probably show up.
But not here; it's a legitimate env-var for other compilers.
CircuitPython version
Code/REPL
Behavior
Building the
mpy-cross
program using MinGW, fails in the last link-step:Since the
$(LIB)
env-variable is used for the link. But this is a MSVC thing and it contains\
slashes. Easy fix for me was to just unset it first:Description
I've said enough.
Additional information
None.