[Ecls-list] ECL statically linked, making executables

Philipp Marek philipp at marek.priv.at
Fri Jul 8 06:42:21 UTC 2011


Hello,

thanks to Sylvain I have now a statically linked ECL binary.

Now I'm trying to build my own binaries with it; I run
    <path>/build/bin/ecl -dir <path>/build make-binary.lisp
where make-binary.lisp is
    (compile-file "test.lisp" :system-p t)
    (c:build-program "test" :lisp-files '("test.o"))


This says
    ;;; Loading #P"<path>/build/cmp.fasc"
    An error occurred during initialization:
    Corrupt bytecodes file #P"<path>/build/cmp.fasc".

with
    $ file <path>/build/cmp.fasc
    <path>/build/cmp.fasc: ASCII text, with very long lines
    $ head -1 <path>/build/cmp.fasc | cut -c1-70
    (FUNCALL #Y(SI:BYTECODES NIL NIL (15 0 75 17 1 29) ("CL" EXT:PACKAGE-L


This even happens if test.lisp only has (format t "hello") and (quit) lines.


Can somebody help again, please?


Regards,

Phil

-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!





More information about the ecl-devel mailing list