Oops. Sorry for my ignorance, while waiting for your reply, I did some reading and test. I need to clarify one thing.
I was reading through
https://github.com/puppetlabs/Razor-Microkernel/wiki/Building-your-own-TCL-Extension and tried to follow along but didn't quite manage to get the extension compilation done. Okay, don't rain down at me, lol. The article was created in 2012 so I think it was probably outdated in some way such as a few extensions are no longer available when I tried to install them. Knowing the fact that some stuff is missing, I exported the flags such as described in the wiki, it gave me: "checking whether the C compiler works... no".
Ok, coming back to the idea of an extension — in reading between the few articles, it started to make sense to me. Correct me if I am wong, when building an extension, we're essentially doing a few steps?
- Install the build tools such as compiletc.tcz, squashfs-tools.tcz, etc.
- Find and install all dependencies, these dependencies must be already "converted" to TinyCore extensions. For example, the omxplayer requires the the dependencies as you listed above — some are in tcz format and some others aren't.
- For those that aren't, we need to "convert" them in tcz.
- Finally, find the source file of the new extension eg: omxplayer. Do "configure" with some parameters and build it using "make".
- Move the build package or executable into their own folder and pack it using "mksquashfs".
Is the steps correct?