[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compile-file



Quoting Patrick Hertelendy:
> i am trying to compile a file using compile-file.
> 
> My source file contains the following require-library
> 
>    (require-library "functios.ss" "mzlib")
>    (require-library "functior.ss" "mzlib")
>    (require-library "functiou.ss" "mzlib")
>    (require-library "functio.ss" "mzlib")
> 
>     (require-library "macro.ss" "framework")
>    (require-library "framework.ss" "framework")
> 
> and i cant get the function compile-file to work right and produce 
> correct .zo files.

Can you provide more details? For example, what goes wrong with
compilation? Do you get an error message while compiling, or does the
.zo file behave differently from the source file? A small example file
would be ideal.

Offhand, it's hard to guess what is going wrong. Certainly you *should*
be able to compile a file starting with the above, since `compile-file'
recognizes `require-library' expressions and effectively loads the
libraries at compile time (but also leaves the expressions in the
compiled output, so that the libraries get loaded at run time too).

Matthew