delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/23/12:04:10

Date: Wed, 23 Jul 1997 09:03:26 -0700 (PDT)
Message-Id: <199707231603.JAA27413@adit.ap.net>
Mime-Version: 1.0
To: khayu AT inch DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Question: RHIDE - CTRL+F9?
Cc: djgpp AT delorie DOT com

You wrote:
>I used to learn C++ and Pascal using Borland IDEs in college a while
>ago. And I remeber being able to code something and just pressing
>Ctrl+F9 to run it, without the need to create .exe and the like. 

That's called "compile to memory". The compiler writes the code into memory,
without creating an executable.

>Now I have downloaded
>everything, they seem to be set up correctly. And just compiled HELLO.C,
>had to compile and create an .exe file to test it. An 83kb file came out
>of it.
Sigh. No, DJGPP does not compile to memory. You have to make an EXE to be
able to run your program. And yes, the EXE's are large.
If you absolutely must have your EXE be smaller, look at section 8.15 of the
FAQ. My favorite is DJP.

You can cheat and sort of get a "compile to memory" by having your EXE be
created on a ramdrive.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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