www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript
electronics



c++ - Error using PATCHOBJ utility

↑ ↓ ← "proware" <prowareinc very-warm-mail.com> writes:
I just purchased PATCHOBJ and Walter e-mailed the utility to me.  I bought 
this to remove the default library information from several LIB/OBJ files. 
All I can get is a "Premature end of file."  Is that normal?  Does this mean 
success?  I can not find a single bit of documentation either on your site 
nor in the files you sent me.  I would love a little support to get me, your 
new customer, up and running... 
Jan 08 2007
↑ ↓ "proware" <prowareinc very-warm-mail.com> writes:
I just purchased PATCHOBJ and Walter e-mailed the utility to me.  I bought 
this to remove the default library information from several LIB/OBJ files. 
All I can get is a "Premature end of file."  Is that normal?  Does this 
mean success?  I can not find a single bit of documentation either on your 
site nor in the files you sent me.  I would love a little support to get 
me, your new customer, up and running...

I want to add that I use VC5.
Jan 08 2007
→ "proware" <prowareinc very-warm-mail.com> writes:
"proware" <prowareinc very-warm-mail.com> wrote in message 
news:entqg4$1aa6$1 digitaldaemon.com...
I just purchased PATCHOBJ and Walter e-mailed the utility to me.  I 
bought this to remove the default library information from several 
LIB/OBJ files. All I can get is a "Premature end of file."  Is that 
normal?  Does this mean success?  I can not find a single bit of 
documentation either on your site nor in the files you sent me.  I would 
love a little support to get me, your new customer, up and running...

I want to add that I use VC5.

For the sake of documentation... Microsoft's compiler outputs COFF .obj files and PATCHOBJ expects OMF files. The COFF2OMF utility converts these. The Microsoft linker will automatically convert the OMF files back to COFF. This was learned through the help of Walter Bright.
Jan 08 2007
→ Walter Bright <newshound digitalmars.com> writes:
proware wrote:
 I just purchased PATCHOBJ and Walter e-mailed the utility to me.  I bought 
 this to remove the default library information from several LIB/OBJ files. 
 All I can get is a "Premature end of file."  Is that normal?  Does this 
 mean success?  I can not find a single bit of documentation either on your 
 site nor in the files you sent me.  I would love a little support to get 
 me, your new customer, up and running...

I want to add that I use VC5.

VC5 generates object files in the MS-COFF format. Patchobj only works on the MS-OMF object file format, which the Digital Mars compiler generates.
Jan 09 2007