www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/07/14:30:40

Xref: news2.mv.net comp.os.msdos.djgpp:6827
From: Roland Exler <R DOT Exler AT jk DOT uni-linz DOT ac DOT at>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: COFF2EXE / GO32 problems
Date: Mon, 05 Aug 1996 09:15:42 -0700
Organization: Institute for el. Measurement, University of Linz, Austria
Lines: 46
Message-ID: <32061E2E.F@jk.uni-linz.ac.at>
References: <4u2df1$gu6 AT newshost DOT cyberramp DOT net>
NNTP-Posting-Host: sensor4.emt.uni-linz.ac.at
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Tim Olmstead wrote:
> 
> Hi!
> 
> Thanks to the help I got on my last question, I have gottne my (LARGE)
> program to link. No, I am having trouble getting it to run. When I try
> to run it with GO32, I get this :
> 
> GO32 ASIMUT.EXE (I typed)
> GO32 v1.12
> unknown file type 0x14c (0514)
> 
> What does this mean?

If you compile with djgpp V1.12 (as your GO32 suggests) gcc outputs 
coff-files, not exe's. They have to be run with go32, but maybe extension 
exe is not valid?

> If I try to run COFF2EXE on it, I get :
> 
> COFF2EXE ASIMUT.EXE (I typed)
> Sector not found reading drive C
> Abort, Retry, Ignor, Fail?Running coff2exe on an file with .exe-extension would try to read the 
file and produce an output with the same name, maybe this corrupts go32 
and/or dos filesystem calls.

Try not to name your coff-image after linking with exe (I used the 
filename without extension), then run coff2exe on it.

> There is NOTHING wrong with my hard disk. I can copy this file just
> fine before running COFF2EXE. Now, it gets even more interesting.
> Before running COFF2EXE, my file is 1332466 bytes. After COFF2EXE gets
> messed ^&*(^&*) up, it is 15360 bytes.If your program is big and maybe debug-info, but at least symbols are in 
it 1.3meg may be ok. The very short size after coff2exe crashes is just 
the part written back to disk until crash.

Hope this helps,
  Roland

+---------------------------------------+---------------------------+
I Roland Exler                          I EMAIL:                    I
I Universitaet Linz                     I R DOT Exler AT jk DOT uni-linz DOT ac DOT at I
I Institut fuer Elektrische Messtechnik I                           I
I Altenbergerstr. 69                    I Phone:                    I
I A-4040 Linz, AUSTRIA                  I + 43 732 2468 9205        I
+---------------------------------------+---------------------------+

- Raw text -


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