[m-users.] users Digest, Vol 37, Issue 9

Julien Fischer jfischer at opturion.com
Mon Aug 22 15:53:19 AEST 2016


Hi,

On Sat, 20 Aug 2016, Noah Scott Goldman wrote:

> OK, so this time when I ran it, the installation seemed to work. In the MSYS2 MinGW-w64 environment, I ran
> 
> $ ./configure --host=x86_64-w64-mingw32 --with-cc=gcc --enable-minimal-install
> 
> $ make
> 
> $ make PARALLEL=-j2 install
> 
> The installation terminated, it seems. But when I try to use the compiler...
> 
> $ mmc --make --verbose hello
> % Creating initialization file...
> % Invoking system command `mkinit  -g asm_fast.gc      -o Mercury\cs\hello_init.c.tmp -I C:\Berocked\MSYS2\mingw64\lib\mercury\modules\asm_fast.gc -f
> C:\Berocked\MSYS2\tmp\mtmp001296'...
> % done.
> % Updating interface:
> % Mercury\cs\hello_init.c' has not changed.
> Making hello.exe
> % Linking...
> % Invoking system command `ar @C:\Berocked\MSYS2\tmp\mtmp00129C'...
> ar: C:\Berocked\MSYS2\tmp\00129A.a: File format not recognized
> % done.
> ** Error making `hello.exe'.
> 
> Should I just proceed with the full installation, or is there something wrong with my compiler?

It's likely a bug in Mercury, most likely the second issue discussed in
the following thread:
<http://lists.mercurylang.org/archives/developers/2016-May/016574.html>.

Julien.


More information about the users mailing list