Installing GNU-Prolog under Cygwin64?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Installing GNU-Prolog under Cygwin64?

Jack Horner

 

Is it possible to install GNU-Prolog v 1.4.4 under Cygwin64 (running under Windows 10)?  When I run configure from the GNU-Prolog src directory, it aborts with an “unsupported architecture” message.  Here’s some data from that session:

 

 

$ pwd

/gprolog-1.4.4/src

 

$ env reports that PATH is:

 

PATH=/usr/local/bin:/usr/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wb

 

 

After running

 

$ ./config

 

 

config.log shows:

 

... (I suppressed irrelevant text here)

 

  $ ./configure

 

## --------- ##

## Platform. ##

## --------- ##

 

hostname = Dell-PC

uname -m = x86_64

uname -r = 2.5.1(0.297/5/3)

uname -s = CYGWIN_NT-10.0

uname -v = 2016-04-21 22:14

 

/usr/bin/uname -p = unknown

/bin/uname -X     = unknown

 

/bin/arch              = x86_64

/usr/bin/arch -k       = unknown

/usr/convex/getsysinfo = unknown

/usr/bin/hostinfo      = unknown

/bin/machine           = unknown

/usr/bin/oslevel       = unknown

/bin/universe          = unknown

 

PATH: /usr/local/bin

PATH: /usr/bin

PATH: /cygdrive/c/WINDOWS/system32

PATH: /cygdrive/c/WINDOWS

PATH: /cygdrive/c/WINDOWS/System32/Wbem

PATH: /cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0

 

 

## ----------- ##

## Core tests. ##

## ----------- ##

 

configure:2750: checking for gcc

configure:2766: found /usr/bin/gcc

configure:2777: result: gcc

configure:3006: checking for C compiler version

configure:3015: gcc --version >&5

gcc (GCC) 5.3.0

Copyright (C) 2015 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

configure:3026: $? = 0

configure:3015: gcc -v >&5

Using built-in specs.

COLLECT_GCC=gcc

COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/lto-wrapper.exe

Target: x86_64-pc-cygwin

Configured with: /cygdrive/i/szsz/tmpp/gcc/gcc-5.3.0-5.x86_64/src/gcc-5.3.0/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-5.3.0-5.x86_64/src/gcc-5.3.0 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --enable-__cxa_atexit --with-dwarf2 --with-tune=generic --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libcilkrts --enable-libgomp --enable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-linker-build-id --with-default-libstdcxx-abi=gcc4-compatible

Thread model: posix

gcc version 5.3.0 (GCC)

configure:3026: $? = 0

configure:3015: gcc -V >&5

gcc: error: unrecognized command line option '-V'

gcc: fatal error: no input files

compilation terminated.

configure:3026: $? = 1

configure:3015: gcc -qversion >&5

gcc: error: unrecognized command line option '-qversion'

gcc: fatal error: no input files

compilation terminated.

configure:3026: $? = 1

configure:3046: checking whether the C compiler works

configure:3068: gcc    conftest.c  >&5

configure:3072: $? = 0

configure:3120: result: yes

configure:3123: checking for C compiler default output file name

configure:3125: result: a.exe

configure:3131: checking for suffix of executables

configure:3138: gcc -o conftest.exe    conftest.c  >&5

configure:3142: $? = 0

configure:3164: result: .exe

configure:3186: checking whether we are cross compiling

configure:3194: gcc -o conftest.exe    conftest.c  >&5

configure:3198: $? = 0

configure:3205: ./conftest.exe

configure:3209: $? = 0

configure:3224: result: no

configure:3229: checking for suffix of object files

configure:3251: gcc -c   conftest.c >&5

configure:3255: $? = 0

configure:3276: result: o

configure:3280: checking whether we are using the GNU C compiler

configure:3299: gcc -c   conftest.c >&5

configure:3299: $? = 0

configure:3308: result: yes

configure:3317: checking whether gcc accepts -g

configure:3337: gcc -c -g  conftest.c >&5

configure:3337: $? = 0

configure:3378: result: yes

configure:3395: checking for gcc option to accept ISO C89

configure:3459: gcc  -c -g -O2  conftest.c >&5

configure:3459: $? = 0

configure:3472: result: none needed

configure:3526: checking build system type

configure:3540: result: x86_64-unknown-cygwin

configure:3560: checking host system type

configure:3573: result: x86_64-unknown-cygwin

configure:3787: checking for as

configure:3803: found /usr/bin/as

configure:3814: result: as

configure:3879: checking for ranlib

configure:3895: found /usr/bin/ranlib

configure:3906: result: ranlib

configure:3976: checking for windres

configure:3992: found /usr/bin/windres

configure:4003: result: windres

configure:4073: checking for ar

configure:4089: found /usr/bin/ar

configure:4100: result: ar

configure:4167: checking for strip

configure:4183: found /usr/bin/strip

configure:4194: result: strip

configure:4220: checking whether make sets $(MAKE)

configure:4242: result: yes

configure:4265: checking for a BSD-compatible install

configure:4333: result: /usr/bin/install -c

configure:4344: checking whether ln -s works

configure:4348: result: yes

configure:4470: error: unsupported architecture

 

 

 

 

Here’s some additional information about the platform:

 

       uname -a reports:   CYGWIN_NT-10.0 Dell-PC 2.5.1(0.297/5/3) 2016-04-21 22:14 x86_64 Cygwin

       GNU-Prolog version:  1.4.4

       Windows version:  Microsoft Windows 10 Home, version 10.0.10586 Build 10586

       Hardware:  Dell Inspiron 545, 8 GB memory

 

 

Thanks in advance for any suggestions.

 

 

Jack

 

Jack K. Horner

2130 Owens Lane

Lawrence KS 66046

Voice:  785-424-7579

Email:   [hidden email]

 


_______________________________________________
Users-prolog mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/users-prolog