<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><font face="Source Sans Pro">OK, so this time when I ran it, the
installation seemed to work. In the MSYS2 MinGW-w64 environment,
I <font face="Hack"><font face="Source Sans Pro">ran</font></font></font></p>
<p><font face="Source Sans Pro"><font face="Hack"><font face="Source
Sans Pro"><font face="Hack">$ ./configure --host=x86_64-w64-mingw32
--with-cc=gcc --enable-minimal-install</font><br>
</font></font></font></p>
<p><font face="Source Sans Pro"><font face="Hack">$ make<font
face="Source Sans Pro"><br>
</font></font></font></p>
<p><font face="Source Sans Pro"><font face="Hack"><font face="Source
Sans Pro"><font face="Hack">$ make PARALLEL=-j2 install</font></font></font><br>
</font></p>
<p><font face="Source Sans Pro">The installation terminated, it
seems. But when I try to use the compiler...</font></p>
<p><font face="Source Sans Pro"></font><font face="Hack">$ mmc
--make --verbose hello<br>
% Creating initialization file...<br>
% 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'...<br>
% done.<br>
% Updating interface:<br>
% Mercury\cs\hello_init.c' has not changed.<br>
Making hello.exe<br>
% Linking...<br>
% Invoking system command `ar
@C:\Berocked\MSYS2\tmp\mtmp00129C'...<br>
ar: C:\Berocked\MSYS2\tmp\00129A.a: File format not recognized<br>
% done.<br>
** Error making `hello.exe'.</font><br>
</p>
Should I just proceed with the full installation, or is there
something wrong with my compiler?<br>
<br>
Best wishes,<br>
Noah G.<br>
<br>
<div class="moz-cite-prefix">On 2016-08-19 16:00,
<a class="moz-txt-link-abbreviated" href="mailto:users-request@lists.mercurylang.org">users-request@lists.mercurylang.org</a> wrote:<br>
</div>
<blockquote
cite="mid:mailman.1.1471658401.24213.users@lists.mercurylang.org"
type="cite">
<pre wrap="">Send users mailing list submissions to
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.mercurylang.org">users@lists.mercurylang.org</a>
To subscribe or unsubscribe via the World Wide Web, visit
<a class="moz-txt-link-freetext" href="https://lists.mercurylang.org/listinfo/users">https://lists.mercurylang.org/listinfo/users</a>
or, via email, send a message with subject or body 'help' to
<a class="moz-txt-link-abbreviated" href="mailto:users-request@lists.mercurylang.org">users-request@lists.mercurylang.org</a>
You can reach the person managing the list at
<a class="moz-txt-link-abbreviated" href="mailto:users-owner@lists.mercurylang.org">users-owner@lists.mercurylang.org</a>
When replying, please edit your Subject line so it is more specific
than "Re: Contents of users digest..."
Today's Topics:
1. Re: Building Mercury from source (Julien Fischer)
----------------------------------------------------------------------
Message: 1
Date: Fri, 19 Aug 2016 16:01:24 +1000 (AEST)
From: Julien Fischer <a class="moz-txt-link-rfc2396E" href="mailto:jfischer@opturion.com"><jfischer@opturion.com></a>
To: Noah Scott Goldman <a class="moz-txt-link-rfc2396E" href="mailto:noahsg@badmousedriver.xyz"><noahsg@badmousedriver.xyz></a>
Cc: <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.mercurylang.org">"users@lists.mercurylang.org"</a> <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.mercurylang.org"><users@lists.mercurylang.org></a>
Subject: Re: [m-users.] Building Mercury from source
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:alpine.OSX.2.20.1608191558030.53077@ah.smart.com.au"><alpine.OSX.2.20.1608191558030.53077@ah.smart.com.au></a>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Hi,
On Wed, 17 Aug 2016, Noah Scott Goldman wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Thanks for trying to help me with my compiler trouble. I've decided to
try building Mercury from the "release of the day" source on MinGW-w64
via MSYS2. I am using the MinGW-w64 version of GCC. Unfortunately,
this approach has problems of its own. When I run
$ ./configure --host=x86_64-w64-mingw32 --with-cc=gcc --enable-minimal-install
I get a warning:
checking return values of system... no
configure: WARNING: Unable to interpret return values from system
</pre>
</blockquote>
<pre wrap="">
That test is checking for Unix specific behaviour which Windows doesn't
implement. (We should probably just shut it up on Windows.)
</pre>
<blockquote type="cite">
<pre wrap="">The script does successfully terminate; however, when I run make it
usually fails. I have included the output of ./configure in a text
file. From what I can gather, either I am missing some libraries that
allows C to communicate with the terminal, or those commands are not
making it to MSYS2. Any suggestions?
</pre>
</blockquote>
<pre wrap="">
If you could post how it is failing, we may be able to help.
Julien.
------------------------------
Subject: Digest Footer
_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.mercurylang.org">users@lists.mercurylang.org</a>
<a class="moz-txt-link-freetext" href="https://lists.mercurylang.org/listinfo/users">https://lists.mercurylang.org/listinfo/users</a>
------------------------------
End of users Digest, Vol 37, Issue 9
************************************
</pre>
</blockquote>
<br>
</body>
</html>