Article View: gnu.gcc.help
Article #50656aout2exe questions from a newbie
From: ddelsig
Date: Tue, 31 Aug 1993 17:50
Date: Tue, 31 Aug 1993 17:50
24 lines
1798 bytes
1798 bytes
howdy! I just downloaded gcc 2.4.1 and djgpp1.10 yesterday, and I'm trying to get everything up and running. I'm having a problem with aout2exe and the other methods for combining go32/stub and my program into one executable file. Here's an example of what's happening: I compile my program, then copy a.out to a program named 'prog' I run aout2exe : aout2exe prog The resulting file, 'prog.exe', is a few k bigger t|han 'prog' The program runs fine as long as 'prog' is not deleted. When deleted, I get the standard 'usage:' message from go32 telling me I need to enter a file to run something. If I type 'prog prog.exe' the program works fine, so the two files have been appended successfully. I've also tried copying a.out to prog.exe, then copying stub.exe+prog.exe to prog.exe in a different directory. This doesn't work, as the executable still looks for 'prog' w/o the .exe on it. Am I doing something wrong? Missing a patch? I'm running this on a 386sx-25 with 4 meg, 40 meg free disk space. I'm also running dos6.0 with emm386 creating expanded memory, and DoubleSpace compressing my drive. No math co-pro. Everything else seems to be running normally. Thanks for any help! Dave
Technical Details
Message-ID:
<1993Aug31.125028.5734@uoft02.utoledo.edu>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!udel!darwin.sura.net!spool.mu.edu!uwm.edu!caen!malgudi.oar.net!uoft02.utoledo.edu!ddelsigShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,36bb402bd24141bb,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-08-31 10:12:12 PST Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!udel!darwin.sura.net!spool.mu.edu!uwm.edu!caen!malgudi.oar.net!uoft02.utoledo.edu!ddelsig From: ddelsig@uoft02.utoledo.edu Newsgroups: gnu.gcc.help Subject: aout2exe questions from a newbie Message-ID: <1993Aug31.125028.5734@uoft02.utoledo.edu> Date: 31 Aug 93 12:50:27 EST Organization: University of Toledo, Computer Services Lines: 26