Tailbite in PBCompiler

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Tailbite in PBCompiler

Post by Polo »

Hi !
I've asked it before, but I guess it's better to create a thread here :)
So, it would be good if Tailbite was a PBCompiler feature. Why ? Actually, Tailbite wait for the PBCompiler to produce ASM code, then it "cuts" it into a lot of ASM files to optimize the library, and then it compiles everything. Do you see what I mean ? If the PBCompiler was doing that directly, it could be possible to do the ASM stuff in one pass, which would actually speed up a lot the thing !! I really wants this because compiling my lib with Tailbite is really slow (of course, the lib is 4000+ lines).
And if it's a part of PBCompiler, it would be possible too to produce PBLibs in every platforms :)
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

The new IBasic pro version seems to have this feature :
IDE Changes:
- Static library added as output type for projects.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

And BlitzMax also has it for Mac OSX/Linux/Windows.
User avatar
blueb
Addict
Addict
Posts: 1115
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Post by blueb »

Yes, :)

I'd like to see it added under Compiler Options:

Executable Format:
- Windows
- Console
- Shared DLL
- Static LIB



--blueb
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

The top of the top would be the ability to produce a .lib which would include the PBlib we're using in it, that way we could use the .lib in any project of any language we want !!!
We already have that for the .dll, why not for the .lib ? THAT would be the top, even better than doing a PBlib !
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

I am not sure if "Not yet but why not?" means it will happen:

viewtopic.php?t=14554&postdays=0&postorder=asc&start=15

:)

But it seems Fred can make PureBasic create normal OBJ and link in normal OBJ. Which would rock!

Do this, get hundreds more sales. (But don't hold me to that!) :)



EDIT:
Oh man, think of the things this would open up! *drools*
@}--`--,-- A rose by any other name ..
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

I hope it won't, this is a quite big feature that NEED to be there :)
Last edited by Polo on Wed Jun 08, 2005 3:34 pm, edited 1 time in total.
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post by traumatic »

Dare2 wrote:I am not sure if "Not yet but why not?" means it will happen:

viewtopic.php?t=14554&postdays=0&postorder=asc&start=15
This thread is about the 'other way around', ie using .lib and .obj from
within PB with ease.
Good programmers don't comment their code. It was hard to write, should be hard to read.
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

traumatic wrote:
Dare2 wrote:I am not sure if "Not yet but why not?" means it will happen:

viewtopic.php?t=14554&postdays=0&postorder=asc&start=15
This thread is about the 'other way around', ie using .lib and .obj from
within PB with ease.
Ah. :oops: Darn citcelsyd spambot!

But that still rocks! Even more so! Instantly increases the potential for Pure Progs.
@}--`--,-- A rose by any other name ..
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

Right, the other way round is also needed :)
Sorry Fred, now you've given to us a good/fast/reliable basic language, we want more 8)
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post by traumatic »

Dare2 wrote:But that still rocks! Even more so! Instantly increases the potential for Pure Progs.
viewtopic.php?t=15264 :)
Good programmers don't comment their code. It was hard to write, should be hard to read.
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post by fsw »

gnozal wrote:The new IBasic pro version seems to have this feature :
IDE Changes:
- Static library added as output type for projects.
Polo wrote:And BlitzMax also has it for Mac OSX/Linux/Windows.
... and FreeBASIC has it too.

Sorry couldn't resist :oops:
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

Fred, can we have your point of view ?
It would be so nice to make Purebasic Libraries in Linux (and MacOSX) !
Post Reply