This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Multiple modules per file
- From: Per Bothner <per at bothner dot com>
- To: kawa at sourceware dot org
- Date: Sun, 15 Feb 2015 16:49:56 -0800
- Subject: Re: Multiple modules per file
- Authentication-results: sourceware.org; auth=none
- References: <m2twym99hm dot fsf at gmail dot com>
On 02/15/2015 12:59 PM, Helmut Eller wrote:
Kawa currently seems to allow multiple define-library forms per file. Is
this an "accidental" feature or is it safe to assume that this will work
in the future too?
It's intended and supported. See:
http://www.gnu.org/software/kawa/Bodies.html
It's not generally recommended, because it doesn't work well if you want to
be able to search for source files:
http://www.gnu.org/software/kawa/Importing.html#Searching-for-source-files
However, there is no problem with multiple define-library forms per file
if you install them after compiling them with -C.
--
--Per Bothner
per@bothner.com http://per.bothner.com/