can i change the dos stub in exe created by polink?

Started by DXL, November 27, 2004, 06:44:02 PM

Previous topic - Next topic

DXL

can polink change the dos stub for exe created?
i cannot see options for that

dos stub=the routine in asm, telling u when running in pure msdos: "hey its a windows program"

Pelle

Yes - use the /STUB linker option. If you are using the IDE, use the Macros tab (in Project options) to change the LINKFLAGS value (it's not a very common setting, so there is no field on the Linker tab).

Pelle
/Pelle

Anonymous

i was using polink version 2.80.0 i cannot see /stub option
i suppose its an option added lately :)

Anonymous

i have read better the polink options from the commandine menu
and i can see now the /stub option

is there a constant in pelles-c to hold the image base address?

i want to compile a C source code to make it the more  compact i can

i have used the rite options: /MERGE and the flag to optimise
now, i want to use the end of pe header to put constant strings there.
i can compute myself all adresses of these strings and put strings in
the dos stub,
but is there a way, to do that without to have to compute at hand
the addresses of all these strings?

Pelle

/Pelle