I'm trying to build XercesC-3.2.1 with MinGW.
After running $ mingw32-make in the xerces directory, I get the following error:
mingw32-make[4]: Entering directory '/my/path/to/xerces-c-3.1.2/src'
process_begin: CreateProcess(NULL, /bin/mkdir -p xercesc/util, ...) failed.
make (e=2): The system cannot find the file specified.
Following the XercesC build instructions, I'm running the configure script as
$ ./configure CC=mingw32-gcc CXX=mingw32-g++
but without the variable LDFLAGS=-no-undefined. This is opposed to the build instructions in the XercesC webpage because otherwise the configure script will not work (the flag is not recognized by gcc). The configure script seems to run fine, however. After that, running mingw32-make gives the error above.
My mingw32-make and mingw32-gcc versions are
- mingw32-gcc/g++ 4.8.1
- mingw32-make 3.82.90
I tried adding C:\MinGW\libexec\gcc\mingw32\4.8.1 to my PATH, as suggested here but had no exit.
I also fresh installed MinGW in another machine that has no other compiler (or Cygwin, or anything) and got the same results.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire