Hello, can anyone tell me how to link watcom object files to flat binary ?
Thank you.
Watcom flat binary
Re:Watcom flat binary
watcom linker doesnt output flat binary (from memory......)... but you can easily write an OFM to binary linker...
or use another linker.. gnu should be able to handle OMF object files......
or use another linker.. gnu should be able to handle OMF object files......
-- Stu --
Re:Watcom flat binary
Hello, the gnu ld linker isnt be able to handle OMF object files. I dont know how to write a OMF to binary linker. And the binary file has to start at 0x100000......
Could you help me ?
Could you help me ?
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Watcom flat binary
that makes no sense ... you want a 16 bits file format to be loaded at 1MB !?
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Watcom flat binary
watcom was known to be one of the first 32bits-able compiler (watcom is the corporate that developed "dos4gw", the famous dos extender that any great game was using)
still final executable is somehow a mix of 16 bits code (the extender startup code) and 32 bits (the game). I didn't know .obj files generated by watcom could be 32bits (actually, i thought it would be using Something Else (tm))
still final executable is somehow a mix of 16 bits code (the extender startup code) and 32 bits (the game). I didn't know .obj files generated by watcom could be 32bits (actually, i thought it would be using Something Else (tm))
Re:Watcom flat binary
Maybe OpenWatcom outputs strictly 32-bit:
http://www.openwatcom.org/index.html
http://www.openwatcom.org/index.html
Re:Watcom flat binary
openwatcom is the next version of watcom c/c++ 11. think of it as Watcom 12. OpenWatcom still handles/creates dos 16bit as well as dos32bit, win16, win32, os2, netware, etc etc etc.
-- Stu --