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

Noah Scott Goldman noahsg at badmousedriver.xyz
Sun Aug 21 09:01:20 AEST 2016


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?

Best wishes,
Noah G.

On 2016-08-19 16:00, users-request at lists.mercurylang.org wrote:
> Send users mailing list submissions to
> 	users at lists.mercurylang.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.mercurylang.org/listinfo/users
> or, via email, send a message with subject or body 'help' to
> 	users-request at lists.mercurylang.org
>
> You can reach the person managing the list at
> 	users-owner at lists.mercurylang.org
>
> 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 <jfischer at opturion.com>
> To: Noah Scott Goldman <noahsg at badmousedriver.xyz>
> Cc: "users at lists.mercurylang.org" <users at lists.mercurylang.org>
> Subject: Re: [m-users.] Building Mercury from source
> Message-ID: <alpine.OSX.2.20.1608191558030.53077 at ah.smart.com.au>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>
> Hi,
>
> On Wed, 17 Aug 2016, Noah Scott Goldman wrote:
>
>> 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
> That test is checking for Unix specific behaviour which Windows doesn't
> implement.   (We should probably just shut it up on Windows.)
>
>> 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?
> If you could post how it is failing, we may be able to help.
>
> Julien.
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> users mailing list
> users at lists.mercurylang.org
> https://lists.mercurylang.org/listinfo/users
>
>
> ------------------------------
>
> End of users Digest, Vol 37, Issue 9
> ************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20160820/493c2df9/attachment.html>


More information about the users mailing list