Tailbite community effort
Just thinking: Catch the assembler code while compiling and do use fasm.exe on that asm code directly to archive the .obj and finally use PoLink to link to a static lib.Flype wrote:Compiling libs should be an option in the compiler options panel :
The problem is here that no PB own libs are integrated so how can PB later know which is needed when using such a static Lib on "Import" in a PB code.
Tailbite (well I only know the vers. for PB v.3.94) seems to recognise that and puts these PB lib dependancies into the library desc file.
Check out OOP support for PB here!
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Well, I have no more "insider knowledge" than anybody else, but I don't get any sense that El_Choni has given up on this at all. It's a large and difficult project, it's all gratis and he's got personal and family responsibilities just like everyone else. So I think we have to expect ebbs and flows in the development process. He'll get back to it one of these days, no worries I'm sure.
BERESHEIT
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Yupp, Im using that also instead of Callfunction/Callfunctionfast and beside PB resulting dlls also on C/C++ resulting dlls.netmaestro wrote:The .lib file generated automatically by compiling as shared dll should be fine to use for Import commands imho. Works for me anyhow.
But I meant the static linking way like the purpose of Userlibraries

Check out OOP support for PB here!
Given that El_Choni is the master of this project, and he's not responded to this post suggests to me that he's too busy or not interested to respond, or he's not been made aware of this plan. So my first suggestion is first, we need to contact El_Choni to see if agrees to this proposal, what the latest situation is about his effort, if/how he can contribute and whether he is willing to release the latest source code for this purpose. Without an understand of these issues, it would be hard (or possibly impolite) to proceed. Dare, please write to him via PM, and if anyone here is close to him, please let him know about this post.
As amazing as Tailbite is, I still prefer source code 'include' files any day. Combine these with dll's and what more do you need?
Incidentally, 'scuse the 'dumb as an ass' question, but the .lib files generated alongside Purebasic dll's, are these just 'import libraries' for the dll's or do they actually contain the full compiled code of the library etc?
Incidentally, 'scuse the 'dumb as an ass' question, but the .lib files generated alongside Purebasic dll's, are these just 'import libraries' for the dll's or do they actually contain the full compiled code of the library etc?
I may look like a mule, but I'm not a complete ass.
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
They're really just definitions for what's in the dll. You can't use a .lib file alone at all if the dll is not available to the program. One really good part of using Import instead of OpenLibrary is that if the dll is awol you get a nice message from Windows saying it's looking for <whatever.dll> and that it needs it to continue. Saves the programmer from having to write code to accomplish that.
BERESHEIT
Hi all,
Sorry for not showing up before. I've been out on holydays, and when I've arrived home, I learned some very bad news about a friend of mine, and I haven't paid attention to any other stuff since.
This "community effort" you suggest looks like a good idea, but I feel a bit guilty when I think how you'll have to deal with all the uncommented code... Would probably waste less time doing it from scratch, dunno...
Anyway, I'll be alone next week, so I hope to have some time to finish, at least, the vararg problem, which is half done. I guess there are other problems, but I think they're minor to solve. In the meantime, you can have a look to the current source if you really want to get a hold on it. If we're able to do it, we'll make sure that, in the future, nobody's dependant on just one person who might desappear for a while, or be short on time for TailBite.
Thanks a lot for your offer! I'll be visiting the forum more often from now on.
Regards,
Sorry for not showing up before. I've been out on holydays, and when I've arrived home, I learned some very bad news about a friend of mine, and I haven't paid attention to any other stuff since.
This "community effort" you suggest looks like a good idea, but I feel a bit guilty when I think how you'll have to deal with all the uncommented code... Would probably waste less time doing it from scratch, dunno...
Anyway, I'll be alone next week, so I hope to have some time to finish, at least, the vararg problem, which is half done. I guess there are other problems, but I think they're minor to solve. In the meantime, you can have a look to the current source if you really want to get a hold on it. If we're able to do it, we'll make sure that, in the future, nobody's dependant on just one person who might desappear for a while, or be short on time for TailBite.
Thanks a lot for your offer! I'll be visiting the forum more often from now on.
Regards,
El_Choni
-
- Addict
- Posts: 2344
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact: