www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/16/22:16:37

From: "alleycat" <cpedicini DOT hate DOT spam AT mindspring DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Simple Questions.
Date: 16 Jun 1998 13:04:38 GMT
Organization: MindSpring Enterprises
Lines: 20
Message-ID: <01bd956f$0b1e8560$702c56d1@chrisped>
NNTP-Posting-Host: user-38lcb3g.dialup.mindspring.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I have two questions concerning DJGPP. 

1. When I installed DJGPP for dos on my PC I noticed a small bug or maybe
feature that was attached to the executables. I compiled a small program
and found if I execute it from DOS or the MSDOS prompt(I use Win95), the
program's name can be typed anywhere on the HD
(C:\, C:\WINDOWS, C:\DUKE3D, etc.) The compiler also can be executed
anywhere on the HD. I tried renaming my executable, but no luck. 
Does anybody know why this is happening?

2. When I compiled a one source program that I created(very small, maybe 20
lines) using "gcc -o myfile.exe myfile.c", the file compiled fine, but it
takes a whopping 100K of memory. Just to check if this was normal, I
compiled the same file using MSVC 1.0, the file size was only 10K. 
Am I doing something wrong when compiling the file, or is this normal?

Thanks for anyone's help.
--^alleycat
email: cpedicini DOT nospam AT mindspring DOT com
*To email, remove .nospam*

- Raw text -


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