Windows 10

Gunter Königsmann gunter at peterpall.de
Wed Nov 25 17:59:20 UTC 2020


Cygwin allows you to compile linux programs on windows systems by providing the full set of Linux functions your application might expect to see. It even converts filenames into a format Linux applications are used to and therefore uses "/cygdrive/c" instead of "C:\" in pathnames.
Any "real" windows application that uses windows function calls for accessing files won't be able to find out where that file is supposed to be and therefore is bound to fail in that case.

Kind regards,

   Gunter.

On November 25, 2020 6:36:40 PM GMT+01:00, Garrett Dangerfield <garrett at dangerimp.com> wrote:
>I got the 20.4.24 tarball and actually managed to compile it on Windows 10
>using cygwin gcc.
>
>Got it to run and it seems to work pretty well from what I've seen so far.
>
>However, the goal of my doing all this was to be able to link Lisp code to
>C/C++ code and compile-file doesn't want to work.
>
>With this simple lisp file named t2.lsp:
>(defun gpdtest ()
>  (print "we did it"))
>When I do this (when in the same directory):
>(compile-file "t2.lsp" :system-p t)
>I get this back:
>Condition of type: FILE-ERROR
>Filesystem error with pathname #P"SYS:CMP.NEWEST".
>Which makes no sense to me.
>
>If I do this:
>(probe-file "t2.lsp")
>I get back:
>#P"/cygdrive/c/Users/danger/gcl/t2.lsp"
>
>Thoughts?
>
>Apologies in advance if this is a stupid question. :-)
>
>Thanks,
>Garrett Dangerfield.

-- 
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20201125/14fd1611/attachment.htm>


More information about the ecl-devel mailing list