www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/04/20:06:07

From: GAMMELJL AT SLU DOT EDU
Date: Tue, 04 Aug 1998 19:05:39 -0500 (CDT)
Subject: obj2coff
To: djgpp AT delorie DOT com
Message-id: <01J07SIKAYHE94EGTG@SLU.EDU>
Organization: SAINT LOUIS UNIVERSITY St. Louis, MO
MIME-version: 1.0

     After a bit of a struggle, I found the file o2cv10.arj and the
tools required to extract the files in that archive.
     I could use some help with the following, however.  Suppose I do
         wcl386/l=dos4g codename
where codename is a c++ code.  This produces codename.obj and codename.exe
and codename.exe runs, of course.
     But then suppose I do
         o2c codename.obj
This produces codename.o as expected, and it appears to be about the right
size.
     However, when I do               
         gxx codename.o
I get many error messages and no executable code is produced.
     The following sequence works:
         gxx codename.cc -c
which produces codename.o, followed by
         gxx codename.o
which produces a.exe.  I had thought that the codename.o produced by o2c
from the Watcom codename.obj and the and codename.o produced by gxx
codename.cc -c would work the same way in gxx codename.o.
     What am I overlooking?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019