Replies: 5 comments
-
I ramping up my knowledge (slowly) of loadable builtin, plugin concept. I got the impression that plugin Anyway trying to understand how the prebuild autoloadable builtins work the ones found in On a regular ksh build (static build)
To me it is shocking to have builtins (like Is that expected, I don't see any ref of I planned a patch to not use such a dir if not existing to solve a a test failure in path.sh test when compiled SHOPT_DYNAMIC 1, but before doing so I want to know if this is the way to approach this. Thanx in advance. |
Beta Was this translation helpful? Give feedback.
-
Ha, I knew I red something about sh shared libraries but could not find it, it is in fact the on going work at Well so far I use my own build env, and I simply turn SHOPT_DYNAMIC 1 and I got loadable builtins. I got some regression in QA mostly path.sh, and is related to |
Beta Was this translation helpful? Give feedback.
-
What is the official way to build
Thanx in advance. |
Beta Was this translation helpful? Give feedback.
-
The official way to build with dynamic library support is incomplete (cf. #357), though the correct way is by setting For more information on the |
Beta Was this translation helpful? Give feedback.
-
Thanx @JohnoKing for the pointers I will review the various # ref. For what I see so far, the I got the impression that what is called I think the I find strange that |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I am working (investigating) about doing some loadable builtins of my own, as I used to do with dtksh :-)
I discovered that OOTB build don't bring builtin loading capability.
Then I discovered that
libcmd/
provide a set of loadable builtins, a good start to ramp up my knowledge and try to build my own hello world first one, but looking at theRELEASE
file I can readThen I discovered that despite this scary message the OOTB build do build
libcmd.a
that nobody use, may be could be used with some SHOPT.sh flags setting, but I am not that far.I still discovered that I can bring loadable builtin capability by editing
SHOPT.sh
This build complete, with some QA failure (4 errors), yet now I can do builtins loading. I made some quick and dirty hack in the BE to get
libcmd.so
instead oflibcmd.a
and try to load a builtin from there and it seems to work.So my questions.
Does the
libcmd.a
is still used to build a non DYNAMIC ksh with all thelibcmd/
pre installed as additional builtins ? (sum, wc, etc...) if so how?Does a
SHOPT DYNAMIC=1
build supposed to work ? i.e should I spend time to fix the few regression in the QA, or is it to be abandoned?What is the concept of PLUGINS I can see some mention of it, but from my ancient dtksh knowledge I don't know what this is, is that the same as dynamic builtin load or is it something else.
Thanx in advance.
Beta Was this translation helpful? Give feedback.
All reactions