Defining dependencies
- From: jurgen_defurne <jurgen.defurne@xxxxxxxxxx>
- Date: Fri, 31 Aug 2007 01:39:58 -0700
I like to partition up my projects into several libraries, so that
certain functionality can be easily reused.
When I build on top of those libraries, I can use 'load' (I do not use
require and provide since they are declared obsolete). However, what
is the best place to add the load ?
- In the application itself, at the beginning of the file ? This seems
to work for just executing an application. When compiling, however, it
seems I can get different problems :
- compiling the file in itself fails because of unresolved
dependencies.
- loading the libraries before the compilation solves this problem,
but this is a duplication.
- not including a load in the application requires the user to check
the file itself for dependencies.
The thing is that I am used to Perl's use and Python's import
statements, but these languages are not compiled. When I use Common
Lisp only as an interpreter, load works fine. It is just that when I
want to compile files, things go awry.
I know about asdf, but I am working cross-platform, and asdf's use of
symbolic links gives problems on Windows (CLISP under Windows/Linux,
and SBCL under Linux).
So, what gives ? When one does not use asdf or another build system,
what is the best recourse to take ?
Regards,
Jurgen
.
- Follow-Ups:
- Re: Defining dependencies
- From: Rainer Joswig
- Re: Defining dependencies
- Prev by Date: Re: a Lispy blog name (OT)
- Next by Date: Re: Defining dependencies
- Previous by thread: a Lispy blog name (OT)
- Next by thread: Re: Defining dependencies
- Index(es):
Relevant Pages
|
|