gforth
[Top][All Lists]
Advanced

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

Re: [gforth] Handling of include file paths


From: David Kuehling
Subject: Re: [gforth] Handling of include file paths
Date: Mon, 03 Dec 2012 01:15:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

>>>>> "Bernd" == Bernd Paysan <address@hidden> writes:

> Am Sonntag, 2. Dezember 2012, 19:13:02 schrieb David Kuehling:
>> Yes, something like that.  Just like default PATH usually allows
>> execution of programs from both /usr/local/bin and /usr/bin, or
>> default GCC include search path allows use of files from both
>> /usr/include and /usr/local/include.

> I've added something like that in the experimental branch on my Git
> repository.  It will not add an extra path if datarootdir is neither
> /usr/share nor /usr/local/share (e.g. on Android, where it is
> /sdcard).

I'd prefer /always/ adding /usr/share/gforth/site-forth
/usr/local/share/gforth/site-forth, so that even a non-root user who
installs gforth with prefix $HOME can access all the forth libraries
installed in a system.

Android looks very non unix-like (not that I have any experience), not
sure any sensible defaults could be (or should be) made with Android in
mind.

cheers,

David
-- 
GnuPG public key: http://dvdkhlng.users.sourceforge.net/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40

Attachment: pgpj9fy1OvbRb.pgp
Description: PGP signature


reply via email to

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