The title says it all..
I have obj files which I want to 'convert' to exe.
what is the command line for this which PB also uses?
I have no clue and I searched but without luck.
Thanks!
how do I use POLINK to make an exe of an obj?
- flaith
- Enthusiast

- Posts: 704
- Joined: Mon Apr 25, 2005 9:28 pm
- Location: $300:20 58 FC 60 - Rennes
- Contact:
i think you want to make an exe from mscoff example from fasm !
From the mscoff directory, write the following line (just change the directory) :
with gcc installed (linker = ld) :

From the mscoff directory, write the following line (just change the directory) :
Code: Select all
F:\_PROGRAMS_\PureBasic4\Compilers\polink /entry:_demo /libpath:F:\_PROGRAMS_\PureBasic4\PureLibraries\Windows\Libraries mscoff.obj user32.libCode: Select all
ld -e _demo mscoff.obj libuser32.a -o mscoff.exe -s“Fear is a reaction. Courage is a decision.” - WC
THanks! Just how did you know to what I need this :roll:flaith wrote:i think you want to make an exe from mscoff example from fasm !
From the mscoff directory, write the following line (just change the directory) :with gcc installed (linker = ld) :Code: Select all
F:\_PROGRAMS_\PureBasic4\Compilers\polink /entry:_demo /libpath:F:\_PROGRAMS_\PureBasic4\PureLibraries\Windows\Libraries mscoff.obj user32.libCode: Select all
ld -e _demo mscoff.obj libuser32.a -o mscoff.exe -s
I am stepping into advanced levels, and I don't know much on these, that's why I needed help.
- flaith
- Enthusiast

- Posts: 704
- Joined: Mon Apr 25, 2005 9:28 pm
- Location: $300:20 58 FC 60 - Rennes
- Contact:
you're welcome, and I remembered this postjosku_x wrote:THanks! Just how did you know to what I need this :roll:
I am stepping into advanced levels, and I don't know much on these, that's why I needed help.
“Fear is a reaction. Courage is a decision.” - WC

