[mkcl-devel] Native compilation on Windows
Ralph Möritz
ralph.moeritz at outlook.com
Wed Oct 24 14:24:15 UTC 2012
I just downloaded MKCL-1.1.0 & tried compiling a small "Hello, world" program on Windows without success. Here's what I tried:
1. Add "C:\Program Files\MKCL 1.1\bin" to my PATH.
2. Run `mkcl -not-fasl-p -compile hello.lisp` which produces lisp.o
3. Now what? I've tried to link using `gcc -o hello.exe hello.o -lmkcl_1.1.0` which produces an error:
c:/program files/mkcl 1.1/bin/../lib/gcc/x86_64-w64-mingw32/4.5.4/../../../../x86_64-w64-mingw32/lib/libmingw32.a(lib64_libmingw32_a-crt0_c.o): In function `main':
/W64_4.5_180676-src/build-crt/../mingw-w64-crt/crt/crt0_c.c:18: undefined reference to `WinMain'
collect2: ld returned 1 exit status
I've also tried `mkcl -o hello.exe -link hello.o` which produces the following error:
build-program failed: Unknown keyword :LISP-FILES
Any help would be appreciated.
Regards,
Ralph
More information about the mkcl-devel
mailing list