[Ecls-list] problems with c:build-program

Juan Jose Garcia Ripoll jlr at mpq.mpg.de
Fri Apr 23 08:43:06 UTC 2004

Erik Winkels wrote:

>Juan Jose Garcia Ripoll <worm at arrakis.es> wrote:
>>jlr at here> echo '(defun foo1 () t)' > foo.lisp
>>jlr at here> echo '(defun foo2 () t)' > bar.lisp
>>jlr at here> echo '(defun foo3 () t)' > baz.lisp
>Fun, if I try this with the filenames foo1.lisp, foo2.lisp and
>foo3.lisp ECL breaks at C::LINKER-CC (foo, bar, baz does work for me):
This has to do with the way ECL mangles the file name to obtain the name 
of the initialization routine in the corresponding C file. But it has 
been fixed, so that it now takes the number into account. You should 
not, however, use characters other than a-Z, A-Z, -, _, * and 0-9, 
because there is no translation to C. Also, this mangling mechanism is 
case insensitive, so that you cannot have files foo.lisp and FOO.lisp. I 
did not come with a better solution.



Max-Planck-Institut fuer Quantenoptik	+49/(0)89/32905-345
Hans-Kopfermann-Str. 1, D-85748		www.mpq.mpg.de/Theorygroup/CIRAC/
Garching b. Muenchen, Germany		Juan.Ripoll at mpq.mpg.de

More information about the ecl-devel mailing list