[mercury-users] Mercury release-of-the-day not compiling on Windows

Julien Fischer juliensf at csse.unimelb.edu.au
Fri Dec 17 17:33:50 AEDT 2010


Hi,

On Thu, 16 Dec 2010, Moudry, Jiri George  wrote:

> I downloaded yesterday's release-of-the-day, but ran into compilation errors (see below).
> (Tried two different windows machines, Win32 and Win64, each fails differently)

I've just tried rotd-2010-12-15 on an identically configured machine and
cannot reproduce the problem you have encountered below.

Are you trying to build a Cygwin version of the compiler (i.e. one
dependent on cygwin.dll) or cross-compiling to produce a native Windows version using
"gcc -mno-cygwin"?

What flags did you invoke configure with?

Could you please forward the complete build and install logs?  (I
suspect the problem occurred sometime before what the excerpt below
shows.)

> Would it be possible to request new binaries on http://code.google.com/p/winmercury/,
> containing the new CSharp back end?

The winmercury distribution is not produced by the Mercury tream, so you
would need to ask those who are involved in distribution the winmercury
distribution.

Julien.

...

> ############################### My machine #########################################
>   WinXP 32-bit SP3
>   Cygwin updated yesterday (cgwin1.dll version 1007.7.0.0).
>   g++ (GCC) 4.3.4 20090804 (release) 1
>
> ## build error below ("make install" step failed)
> ####################################################################################
>
> ...
> rm -f dont_ar_1
> cp ./libatomic_ops-install/lib/libatomic_ops.a gc.a
> ./if_mach SPARC SOLARIS touch dont_ar_1
> ./if_mach SPARC SOLARIS ar rus gc.a alloc.o reclaim.o allchblk.o misc.o mach_dep.o os_dep.o mark_rts.o headers.o mark.o ob
> j_map.o blacklst.o finalize.o new_hblk.o dbg_mlc.o malloc.o stubborn.o checksums.o pthread_support.o pthread_stop_world.o
> darwin_stop_world.o typd_mlc.o ptr_chck.o mallocx.o gcj_mlc.o specific.o gc_dlopen.o backgraph.o win32_threads.o thread_lo
> cal_alloc.o dyn_load.o
> ./if_mach M68K AMIGA touch dont_ar_1
> ./if_mach M68K AMIGA ar -vrus gc.a alloc.o reclaim.o allchblk.o misc.o mach_dep.o os_dep.o mark_rts.o headers.o mark.o obj
> _map.o blacklst.o finalize.o new_hblk.o dbg_mlc.o malloc.o stubborn.o checksums.o pthread_support.o pthread_stop_world.o d
> arwin_stop_world.o typd_mlc.o ptr_chck.o mallocx.o gcj_mlc.o specific.o gc_dlopen.o backgraph.o win32_threads.o thread_loc
> al_alloc.o dyn_load.o
> ./if_not_there dont_ar_1 ar ru gc.a alloc.o reclaim.o allchblk.o misc.o mach_dep.o os_dep.o mark_rts.o headers.o mark.o ob
> j_map.o blacklst.o finalize.o new_hblk.o dbg_mlc.o malloc.o stubborn.o checksums.o pthread_support.o pthread_stop_world.o
> darwin_stop_world.o typd_mlc.o ptr_chck.o mallocx.o gcj_mlc.o specific.o gc_dlopen.o backgraph.o win32_threads.o thread_lo
> cal_alloc.o dyn_load.o
> ^^^^Starting command^^^^
> ar: mach_dep.o: No such file or directory
> make[3]: *** [gc.a] Error 1
> make[3]: Leaving directory `/cygdrive/c/share/down_code/mercury-compiler-dec13/install_grade_dir.asm_fast.gc.debug/boehm_g
> c'
> make[2]: *** [submake] Error 2
> make[2]: Leaving directory `/cygdrive/c/share/down_code/mercury-compiler-dec13/install_grade_dir.asm_fast.gc.debug/boehm_g
> c'
> To clean up from failed install, remove /cygdrive/c/share/down_code/mercury-compiler-dec13/install_grade_dir.asm_fast.gc.d
> ebug
> make[1]: *** [install_grades] Error 1
> make[1]: Leaving directory `/cygdrive/c/share/down_code/mercury-compiler-dec13'
> make: *** [install] Error 2
>
> --------------------------------------------------------------------------
> mercury-users mailing list
> Post messages to:       mercury-users at csse.unimelb.edu.au
> Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
> Subscriptions:          mercury-users-request at csse.unimelb.edu.au
> --------------------------------------------------------------------------
>
--------------------------------------------------------------------------
mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the users mailing list