[m-users.] Compiling Mercury 14.01 on 64 bit Cygwin?

Peter C. Chapin PChapin at vtc.vsc.edu
Sun Aug 10 09:28:18 AEST 2014


I'm trying to compile Mercury from source in my 64 bit Cygwin
environment running on Windows 7. I ran configure without any options
but when I start the build I rather quickly get this:

/usr/local/src/mercury-srcdist-14.01/boehm_gc/../scripts/mgnuc --grade
hlc.gc.pregen --no-ansi --no-check --no-mercury-stdlib-dir -I./include
-I./libatomic_ops-install/include -DNO_EXECUTE_PERMISSION
-DLARGE_CONFIG     -DNO_DEBUGGING   -c -o alloc.o alloc.c
In file included from ./include/private/gc_priv.h:94:0,
                 from alloc.c:18:
./include/private/gcconfig.h:1096:7: error: #error This should be
handled as X86_64
 #     error This should be handled as X86_64
./include/private/gcconfig.h:2416:3: error: #error --> undefined ALIGNMENT
 # error --> undefined ALIGNMENT
<builtin>: recipe for target 'alloc.o' failed
make[3]: *** [alloc.o] Error 1

I'm guessing my problem is that I'm using the 64 bit Cygwin environment
rather than the 32 bit environment. Is there a straightforward way to
compile Mercury successfully on this platform or is it just unsupported?
My gcc version is 4.8.3.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PChapin.vcf
Type: text/x-vcard
Size: 267 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/users/attachments/20140809/ba7c7d8b/attachment.vcf>

More information about the users mailing list