MinGW compile won't
Status: Pre-Alpha
Brought to you by:
descubes
Recent MinGW.
BruceAxtens@Mercury ~/xlr/xl2 $ make The BUILDENV environment variable is not set You will accelerate builds by setting it as appropriate for your system. The best guess is BUILDENV=mingw Attempting to build debug with mingw BUILDENV=mingw make debug; make[1]: Entering directory `/home/BruceAxtens/xlr/xl2' make[2]: Entering directory `/home/BruceAxtens/xlr/xl2' Compiling main.cpp Generating dependencies in obj/mingw/debug/Makefile.depend Compiling main.cpp Compiling main.cpp Compiling main.cpp make[3]: Entering directory `/home/BruceAxtens/xlr/xl2' Compiling predepend Compiling predepend make[3]: Leaving directory `/home/BruceAxtens/xlr/xl2' make[2]: Leaving directory `/home/BruceAxtens/xlr/xl2' make[2]: Entering directory `/home/BruceAxtens/xlr/xl2' ----------- Making debug in /home/BruceAxtens/xlr/xl2 ------------ Dependencies for debug done Compiling main.cpp Compiling scanner.cpp Compiling tree.cpp Compiling context.cpp Compiling parser.cpp Compiling ctrans.cpp Compiling options.cpp Compiling errors.cpp Building xl.exe cd bootstrap && make test make[3]: Entering directory `/home/BruceAxtens/xlr/xl2/bootstrap' Compiling compiler.xl Generating dependencies in ../obj/mingw/debug/bootstrap/Makefile.depend Compiling compiler.xl Compiling compiler.xl Compiling compiler.xl make[4]: Entering directory `/home/BruceAxtens/xlr/xl2/bootstrap' No dependency for % Compiling predepend Compiling predepend make[4]: Leaving directory `/home/BruceAxtens/xlr/xl2/bootstrap' make[3]: Leaving directory `/home/BruceAxtens/xlr/xl2/bootstrap' make[3]: Entering directory `/home/BruceAxtens/xlr/xl2/bootstrap' make[4]: Entering directory `/home/BruceAxtens/xlr/xl2/bootstrap' ----------- Making debug in /home/BruceAxtens/xlr/xl2/bootstrap ------------ Dependencies for debug done cp ../xl_lib.h . cp ../xl.syntax . Compiling compiler.xl Compiling ../obj/mingw/debug/bootstrap/compiler.xl.C In file included from ../obj/mingw/debug/bootstrap/compiler.xl.C:1: ./xl_lib.h: In function `std::vector<text, std::allocator<text> > xl::files::directory(std::string)': ./xl_lib.h:361: error: 'struct dirent' has no member named 'd_namlen' make[4]: *** [../obj/mingw/debug/bootstrap/compiler.xl.o] Error 1 make[4]: Leaving directory `/home/BruceAxtens/xlr/xl2/bootstrap' make[3]: *** [debug] Error 2 make[3]: Leaving directory `/home/BruceAxtens/xlr/xl2/bootstrap' make[2]: *** [bootstrap_compiler] Error 2 make[2]: Leaving directory `/home/BruceAxtens/xlr/xl2' make[1]: *** [debug] Error 2 make[1]: Leaving directory `/home/BruceAxtens/xlr/xl2' make: *** [debug] Error 2