[m-users.] Error during upgrade to rotd-2015-10-08 and MinGW-cross

Dirk Ziegemeyer dirk at ziegemeyer.de
Sun Oct 11 04:20:15 AEDT 2015


Dear all,

I’d like to compile an application as a Windows .exe file.

I decided to give MinGW-cross a try because it is much faster to „make install“ Mercury directly on a Mac instead of installing Mercury inside a VirtualBox with a Windows guest OS. I’m not sure if this is supported, because I ran into an error during installation of the library mercury-csv.

At first I installed the latest rotd-2015-10-08 with installation method from README.MacOS and I was able to compile my application with this version. (Note: I did not recompile mercury-csv with rotd-2015-10-08 and left the mercury-csv-library installed that I compiled with rotd-2015-02-20. I’m not sure if this is valid, but it worked.)

Then I installed Mercury with installation method from README.MinGW-cross based on MXE cross compiler. The installation passed without errors.
 
But during making the mercury-csv library with MinGW-cross, an error occured.

I’m not sure if this error is caused by my upgrade to rotd-2015-10-08 or by MinGW-cross or by anything else.

Do you have an idea?

Best regards,
Dirk


------------
Dirks-MBP:mercury-csv dirk$ make INSTALL_PREFIX=/Users/dirk/temp/mercury-mingw-rotd-2015-10-08/libraries/mercury_csv
cd src && /Applications/Xcode.app/Contents/Developer/usr/bin/make default
mmc --make libmercury_csv
Making Mercury/int3s/mercury_csv.int3
Making Mercury/int3s/csv.int3
Making Mercury/int3s/csv.char_buffer.int3
Making Mercury/int3s/csv.raw_reader.int3
Making Mercury/int3s/csv.record_parser.int3
Making Mercury/int3s/csv.typed_reader.int3
Making Mercury/int0s/csv.int0
Making Mercury/ints/csv.int
Making Mercury/ints/mercury_csv.int
Making Mercury/ints/csv.char_buffer.int
Making Mercury/ints/csv.raw_reader.int
Making Mercury/ints/csv.record_parser.int
Making Mercury/ints/csv.typed_reader.int
Making Mercury/asm_fast.gc/i686-w64-mingw32.static/Mercury/opts/csv.opt
Making Mercury/asm_fast.gc/i686-w64-mingw32.static/Mercury/opts/mercury_csv.opt
Making Mercury/asm_fast.gc/i686-w64-mingw32.static/Mercury/opts/csv.char_buffer.opt
Making Mercury/asm_fast.gc/i686-w64-mingw32.static/Mercury/opts/csv.raw_reader.opt
Making Mercury/asm_fast.gc/i686-w64-mingw32.static/Mercury/opts/csv.record_parser.opt
Making Mercury/asm_fast.gc/i686-w64-mingw32.static/Mercury/opts/csv.typed_reader.opt
Making Mercury/asm_fast.gc/i686-w64-mingw32.static/Mercury/cs/csv.c
Making Mercury/asm_fast.gc/i686-w64-mingw32.static/Mercury/cs/mercury_csv.c
Making Mercury/asm_fast.gc/i686-w64-mingw32.static/Mercury/cs/csv.char_buffer.c
Making Mercury/asm_fast.gc/i686-w64-mingw32.static/Mercury/cs/csv.raw_reader.c
Making Mercury/asm_fast.gc/i686-w64-mingw32.static/Mercury/cs/csv.record_parser.c
Making Mercury/asm_fast.gc/i686-w64-mingw32.static/Mercury/cs/csv.typed_reader.c
Making Mercury/asm_fast.gc/i686-w64-mingw32.static/Mercury/os/csv.o
sh: mfiltercc: command not found
** Error making `Mercury/asm_fast.gc/i686-w64-mingw32.static/Mercury/os/csv.o'.
make[1]: *** [default] Error 1
make: *** [default] Error 2




More information about the users mailing list