Hi,
I make this question once inside other thread but don't have any direct answer.
Here is the complete question:
I code something for a client, he ask me for the source code, but of course he don't have a copy of PureBasic.
Can i give him some way to recompile the code using FASM if i give him the ASM version of my code?
My app uses some libs.
Thanks in advance!
Any way to compile code usign FASM?
Any way to compile code usign FASM?
ARGENTINA WORLD CHAMPION
If I remember correctly, dont quote me on this
, but there is a switch in PB to have it translate the PB code to commented ASM. However, I believe that the commented ASM is not compilable in FASM (for some odd reason), therefore its not ASM??? I dont know how that work.. but.....
Maybe fred will reply 
Yes, i know, some stuff with libs make it hard or impossible to compile.
What i want to know if its just the linker or some other thing that makes it impossible, because my client want the sourcecode but i don't think i will want to buy PB.
Maybe if i can give him the libs as obj or something
What i want to know if its just the linker or some other thing that makes it impossible, because my client want the sourcecode but i don't think i will want to buy PB.
Maybe if i can give him the libs as obj or something
ARGENTINA WORLD CHAMPION
The commented ASM source you get from the compiler is only the main program module.
All PB functions are stored in libs, which will later be combined into the executable.
You can't give away the PB librarys in .obj format. First of all, because they
are encrypted, and also because the PB Terms And Conditions forbid that.
If your customer wants a compilable PB sourcecode, the only way is to buy PB.
Timo
All PB functions are stored in libs, which will later be combined into the executable.
You can't give away the PB librarys in .obj format. First of all, because they
are encrypted, and also because the PB Terms And Conditions forbid that.
If your customer wants a compilable PB sourcecode, the only way is to buy PB.
Timo
quidquid Latine dictum sit altum videtur
at the price of pb, why don't include a copy of pb?
(sounds crazy but why not?)
or simply give him the source, he can always buy pb himself later to compile it if he wants, he want's the SOURCE, so he got it?
don't see the problem
(sounds crazy but why not?)
or simply give him the source, he can always buy pb himself later to compile it if he wants, he want's the SOURCE, so he got it?
don't see the problem
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
Yes i understand. But not always is easy to make some client accept applications coded in PB, because they think that if you move to another city or something no one will be able to give support to the application.
If we add the difficulty that need to buy PB to compile it... sometimes its not easy.
If we add the difficulty that need to buy PB to compile it... sometimes its not easy.
ARGENTINA WORLD CHAMPION
Hmmm
Come on, PB is so inexpensive, I wouldn't work for a client who demanded source code and then had a problem with spending $60 for PureBasic to compile it. If he's got a qalm about $60, I'd watch your back because your client might stiff you your $$.
Re: Hmmm
I don't think that the $60 is the problem but the problem to find other PB coder if something happends.StarHawk wrote:Come on, PB is so inexpensive, I wouldn't work for a client who demanded source code and then had a problem with spending $60 for PureBasic to compile it. If he's got a qalm about $60, I'd watch your back because your client might stiff you your $$.
If the client knows that he get an ASM code he knows that there are many ASM coders.
The real problem is not that the clinet want to compile the code now, but finding help in a future if for some reason you are not around anymore.
Dealing with real clients is different than theory, some are very openmind but others don't.
ARGENTINA WORLD CHAMPION
I have only two comments for this one:
One, PB source code is pretty easy to follow for even the marginally trained programmer and should be easy to understand and\or modify to some other basic dialect if necessary in the future (Maybe someone's even written something that can convert PB code into another language such as C? Seems like it shouldn't be too impossible...)
And two, it's been a while since I've used the demo version of PB, but wouldn't that at least allow them to review your code within the IDE if necessary and then decide whether or not to buy the whole enchilada?
Russell
One, PB source code is pretty easy to follow for even the marginally trained programmer and should be easy to understand and\or modify to some other basic dialect if necessary in the future (Maybe someone's even written something that can convert PB code into another language such as C? Seems like it shouldn't be too impossible...)
And two, it's been a while since I've used the demo version of PB, but wouldn't that at least allow them to review your code within the IDE if necessary and then decide whether or not to buy the whole enchilada?
Russell
*** Diapers and politicians need to be changed...for the same reason! ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***



