Basically what I'm wondering if I can do is, if I have "library.h" and "library.c", can I compile that library into an appvar (similar to GraphX, FileIOC, etc.) that is called by a program including "library.h", rather than statically linking the entirety of that library directly into the .8xp?
I've seen that this would be possible in assembly using the toolchain's "library.inc", but is it possible in just C (or even with some inline ASM)?
It's not currently possible to do automatically with the toolchain, but there's nothing stopping you from just taking the assembly output from the compiler (in the obj/ folder) and using that with the library.inc. Hashlib already works like this.
Not at the moment. It's technically possible to implement such a feature, but it doesn't exist yet. You can, however, take the .src files from the obj directory and with a bit of futzing turn them into .asm files, which I believe is mostly how hashlib was created.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement