Doug Coleman
4ec2311406
factor: Trim whitespace after ! comments and a few USING: lines that got skipped before.
2015-07-18 20:14:22 -07:00
John Benediktsson
d6b6f3893d
basis/extra: switch to "vocab." os name>> append require.
2014-11-13 13:00:44 -08:00
Doug Coleman
d578ca7959
alien.libraries.finder: How many patches does it take... I was dropping the wrong value from map-find.
2014-07-08 11:58:34 -07:00
Doug Coleman
ee08a436fd
alien.libraries.finder: map-find was what I wanted all along.
2014-07-08 13:13:41 -05:00
Doug Coleman
1e8655c5c0
alien.libraries.finder: More robust finder code that doesn't return f to a
...
string slot and error out. Use it in yaml.ffi.
2014-07-08 12:40:33 -05:00
Doug Coleman
77f806d6c5
alien.libraries.finder: Add find-library-from-list utility word.
2014-07-08 12:21:50 -05:00
Doug Coleman
d10443186c
alien.libraries.finder: Make find-library return the string passed in instead of f if the library is not found. We want vocabularies to load no matter what instead of throwing a missing library error. Also, print dlerror in the error message and take away the redundant line about possible missing libraries. Fixes #986 .
2014-06-07 20:58:14 -07:00
Doug Coleman
093a2bbae0
Revert "alien.libraries.finder: Add utiltity word find-first-library to find a shared library from a list of library stem names." Wrong fix.
...
This reverts commit 8cd883be5119683291c2ee6d7ce4fad228b78e26.
2014-04-28 01:25:27 -07:00
Doug Coleman
ce9db9fb84
alien.libraries.finder: Add utiltity word find-first-library to find a shared library from a list of library stem names.
2014-04-28 00:38:39 -07:00
John Benediktsson
935612035c
alien.libraries.finder: split into sub-vocabularies and implement macosx better.
2013-11-16 11:58:37 -08:00
Björn Lindqvist
80b180b96b
alien.libraries.finder: remove unused import
2013-11-10 15:10:14 +01:00
Björn Lindqvist
29ad75a85d
alien.libraries.finder: better library resolving
2013-11-10 02:27:56 +01:00
Björn Lindqvist
0236212987
alien.libraries.finder: linux code path for find-library
...
/sbin/ldconfig -p is used to figure out what the correct lib name
is. It is the same method as used in python ctypes.
2013-11-10 02:27:56 +01:00
Björn Lindqvist
21bd4cc6ea
alien.libraries.finder: automatically find library files based on library names
...
To make it easier to support cross-platform library bindings use the
find-library word. Factor is then supposed to automatically locate the
correct library file depending on the users' platform. Then you dont
have to specify the full so-name on unixes which breaks if the user
has a newer library version. The same library lookups that
ctypes.find_library uses will be implemented in future commits.
2013-11-10 02:27:56 +01:00