Mail Archives: djgpp/1997/08/02/21:48:05
Peter Gerwinski wrote:
>
> > > P.S. Is DJ thinking about putting this "compile to memory" feature into
> > > future versions???
> > One question: What would be the benefit of this?
> The (only?) application for this is that, while you are learning a
> programming language, you don't fill up your disk/directory with
> lots of `.exe' files. While this might seem comfortable, it hides
> the stage of compilation and causes a lot of questions to the
> Pascal NewsGroups: "How do I produce `.exe' files with Turbo Pascal?"
>
> (BTW, Turbo Pascal compiles short programs indeed so fast that you
> get the impression that they really run without compilation and
> linking when doing it in memory.)
>
> A similar feature for GNU compilers would be so much work for a
> questionable benefit that it's not realistic. (At least *I* won't
> do it for GNU Pascal, but since everyone can have the source of
> the compiler, perhaps somebody who finds it important enough will
> do? ;-)
>
> However, if you like the "run this source, but don't produce an
> `.exe'" effect, you can ask Robert to implement an option into
> RHIDE that the `.exe' file is automatically erased whenever the
> target changes? Personally I would not consider it this important,
> but perhaps others do? (But if it's much work, we *must* not take
> Robert's time away from more important things!)
>
Yes, this is exactly what I had in mind when I came up and asked for
CTRL+F9 as in Turbo Pascal. I don't know how to program and am just
starting to learn, and the idea of the DJGPP compiler producing a load
of .exe's in the BIN directory (or anywhere really) for every hello.c
and all other beginner programs was not really compelling to me. But I
guess, once and if I figure out how to direct compiled .exe's into a
separate directory at time of compilation, I won't mind that much
anymore ;-)
Cheers...
Khayu.
Khayu AT inch DOT com
*******Remove SPAM from email address to reply***************
Note: I am not asking for flamers. I am barely stating my newbie
questions and opinions and take them as such. However, if you have any
constructive comments please direct them to this newsgroup and
Khayu AT inch DOT com.
- Raw text -