Windows 10

Daniel Kochmański daniel at turtleware.eu
Thu Nov 26 11:04:46 UTC 2020


ECL may be build with cygwin/mingw, then it works with cygwin/mingw runtime. You may also use
MSVC, then you need to enter the msvc directory and issue nmake (see documentation for more
precise instructions).

That said, did you try my previous suggestion with passing appropriate flags to cygwin?

Regards,
Daniel

--
Daniel Kochmański ;; aka jackdaniel | Przemyśl, Poland
TurtleWare - Daniel Kochmański | www.turtleware.eu

"Be the change that you wish to see in the world." - Mahatma Gandhi

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, 25 November 2020 23:11, Garrett Dangerfield <garrett at dangerimp.com> wrote:

> So I zapped the gcc/g++, etc. from cygwin and did an install of mingw 64 bit outside of cygwin. I added the big directory from that to my path.
>
> I did the "./configure --with-cmp=yes" and it finished:
> config.status: creating ecl/config.h
> config.status: creating ecl/config-internal.h
> Configuration complete. To build ECL, issue make in this directory.
>
> But make is failing:
> $ make
> cd build; make
> make[1]: Entering directory '/cygdrive/c/Users/danger/Downloads/ecl-20.4.24/build'
> c doc gc atomic
> make[2]: Entering directory '/cygdrive/c/Users/danger/Downloads/ecl-20.4.24/build/atomic'
> Making all in src
> make[3]: Entering directory '/cygdrive/c/Users/danger/Downloads/ecl-20.4.24/build/atomic/src'
> make all-am
> make[4]: Entering directory '/cygdrive/c/Users/danger/Downloads/ecl-20.4.24/build/atomic/src'
> /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../src -I/cygdrive/c/Users/danger/Downloads/ecl-20.4.24/src/bdwgc/libatomic_ops/src -Wall -Wextra -Wpedantic -Wno-long-long -g -O2 -D_THREAD_SAFE -MT atomic_ops.lo -MD -MP -MF .deps/atomic_ops.Tpo -c -o atomic_ops.lo /cygdrive/c/Users/danger/Downloads/ecl-20.4.24/src/bdwgc/libatomic_ops/src/atomic_ops.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I../src -I/cygdrive/c/Users/danger/Downloads/ecl-20.4.24/src/bdwgc/libatomic_ops/src -Wall -Wextra -Wpedantic -Wno-long-long -g -O2 -D_THREAD_SAFE -MT atomic_ops.lo -MD -MP -MF .deps/atomic_ops.Tpo -c /cygdrive/c/Users/danger/Downloads/ecl-20.4.24/src/bdwgc/libatomic_ops/src/atomic_ops.c -o atomic_ops.o
> gcc.exe: error: /cygdrive/c/Users/danger/Downloads/ecl-20.4.24/src/bdwgc/libatomic_ops/src/atomic_ops.c: No such file or directory
> gcc.exe: fatal error: no input files
> compilation terminated.
> make[4]: *** [Makefile:610: atomic_ops.lo] Error 1
> make[4]: Leaving directory '/cygdrive/c/Users/danger/Downloads/ecl-20.4.24/build/atomic/src'
> make[3]: *** [Makefile:473: all] Error 2
> make[3]: Leaving directory '/cygdrive/c/Users/danger/Downloads/ecl-20.4.24/build/atomic/src'
> make[2]: *** [Makefile:475: all-recursive] Error 1
> make[2]: Leaving directory '/cygdrive/c/Users/danger/Downloads/ecl-20.4.24/build/atomic'
> make[1]: *** [Makefile:129: libeclatomic.a] Error 2
> make[1]: Leaving directory '/cygdrive/c/Users/danger/Downloads/ecl-20.4.24/build'
> make: *** [Makefile:65: all] Error 2
>
> Obviously, on windows I still have to use cygwin as my shell because that's what configure expects.
>
> Thoughts?
>
> Thanks,
> Garrett.
>
> On Wed, Nov 25, 2020 at 10:03 AM Daniel Kochmański <daniel at turtleware.eu> wrote:
>
>> So the problem seems to be quite clear: your ecl build doesn't have the C compiler enabled.
>> When you configure the build, include --with-cmp=yes (or builtin).
>>
>> ./configure --prefix=/my/cygwin/prefix --with-cmp=yes
>> make && make install
>>
>> Then C compiler should be available (you may still need to call (ext:install-c-compiler), you need
>> to check it yourself because I don't remember whether bytecodes compiler is installed by default
>> on cygwin, it is for msvc).
>>
>> If it still doesn't work, please include a result of calling this code snippet:
>>
>> (format t "~&~@{~12 at A ~S~%~}"
>> :version (lisp-implementation-version)
>> :vcs-id (ext:lisp-implementation-vcs-id)
>> :os (software-type)
>> :os-version (software-version)
>> :machine-type (machine-type)
>> :features *features*)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20201126/e7c063ee/attachment-0001.htm>


More information about the ecl-devel mailing list