www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/01/00:05:23

From: "DT2" <dt2 AT hknet DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <73vocb$mb6$1 AT news DOT nyu DOT edu>
Subject: Re: a weird (stupid) thing with djgpp - question
Date: Tue, 1 Dec 1998 13:02:37 +0800
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.0810.800
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800
NNTP-Posting-Host: 202.67.234.245
X-NNTP-Posting-Host: 202.67.234.245
Message-ID: <366377f6.0@ruby.hknet.com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

how about using and ide (e.g. rhide)?  at least that way the compiling is
done for you -- all you do is click the menu button.

Daniel Marques <djm7195 AT no DOT spam DOT is4 DOT nyu DOT edu> wrote in message
news:73vocb$mb6$1 AT news DOT nyu DOT edu...
>If I am about to compile a file and want to type
>gxx -c File.cpp
>
>and accidentally type
>gxx -o File.cpp
>
>not only does djgpp respond with a message telling me something along the
>line of undefined reference to main
>BUT IT ERASES THE FILE!!!!!
>
>Now, I understand that this is happening because it is trying to compile a
>non-existent file into a file named File.cpp but this seem like a mistake
>which could happen quite a lot and be very very costly (e.g. there goes my
>homework).
>
>Is this a DJGPP bug/feature or does it represent something weird with DOS
>(Win95 Dos mode), and is there anyway to get around it (besides typing more
>carefully)?
>
>Dan
>If you would like to e-mail me use djm7195 AT is4 DOT nyu DOT edu, the other one is
for
>the spammers.
>
>


- Raw text -


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