gforth
[Top][All Lists]
Advanced

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

Re: [gforth] Configuring multiple libccdirs


From: Anton Ertl
Subject: Re: [gforth] Configuring multiple libccdirs
Date: Wed, 4 Jul 2018 09:14:21 +0200
User-agent: NeoMutt/20170113 (1.7.2)

[This time for the whole mailing list]

On Tue, Jul 03, 2018 at 08:54:42PM -0500, Reepca Russelstein wrote:
> I suppose I should give a concrete example:
> 
> I am attempting to write some interfaces to various C libraries - for
> example, cpython and glfw. I've generated some interfaces with
> forth-enabled swig before, but I can't install them separately from
> gforth itself as guix packages because there isn't a
> version-independent directory to put the wrappers in, and I'd have to
> re-hardcode it for every version change (and I update my gforth
> package from git, so "version change" is pretty frequent, as it
> includes the date).

The way it is designed, the things that should be distributed are the
.fsi files.  On installation one would generate .fs files from that,
and when the user includes that .fs file, the wrapper files get
generated in ~/.gforth/<machine-type>/libcc-named.  Why is that not
sufficient?

- anton



reply via email to

[Prev in Thread] Current Thread [Next in Thread]