delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/16/21:47:55

From: Anthony Williams <anthonyw AT dibbs DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Newbie
Date: 15 Feb 1998 19:30:54 GMT
Lines: 38
Message-ID: <6c7fpe$6d3$0@198.79.30.75>
References: <3 DOT 0 DOT 2 DOT 16 DOT 19980214211808 DOT 0aef43b8 AT giasdla DOT vsnl DOT net DOT in> <19980215075100 DOT CAA05095 AT ladder02 DOT news DOT aol DOT com>
Reply-To: anthonyw AT dibbs DOT net
NNTP-Posting-Host: 198.79.30.75
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Yes, this is TC++ Lite (which only allows 64k of code and 64k of data).
It won't let you run anything which you've compiled unless inside of the
IDE. In short, don't use it. But, what I don't understand is whether the
person asking for help was using RHIDE or TC Lite's IDE to compile using
DJGPP. If he/she was only writing the code in TC Lite, then it should
(for the most part) work with DJGPP, but I have no idea about whether
running DJGPP from it would work or not. Even if it were, I wouldn't
reccommend it.

Myknees wrote:
> 
> Rajnish <challengers AT technologist DOT com> writes:
> > Hi All,
> >
> > I am desperately looking to compile some C code I wrote.
> > I don't have a
> > C/C++ compiler, so I downloaded DJGPP.
> >
> > My question is if I can compile my programs which I
> > wrote using a Boroland
> > IDE with DJPP. The Boroland C++ IDE makes the required
> > .exe files for a DOS
> > platform. Whenever I attempt to run the files I get an
> > error message saying
> > 'the file should be run from inside the IDE'.
> 
> I saw an error like that.  A C++ book I have came with a version of Borland
> Turbo C++.  It created .exe files that would only run from inside the Turbo C++
> IDE.
> 
> > I am not sure if this the right direction.
> 
> I think that you are going in the right direction by getting djgpp, since you
> can compile your code into .exe files that can run on their own.  There are
> some differences between the compilers, though.  The first one I came across is
> that in djgpp, printf is line buffered.
> 
> --Ed (Myknees)

- Raw text -


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