Mail Archives: djgpp/1997/07/26/03:01:47
The answers to some of your questions can be found in the FAQ, which is in
the file v2/faq210b.zip from the place you downloaded djgpp. Please follow
up the references to it that I give.
Tan Mu Yen (tanmuyen AT singnet DOT com DOT sg) wrote:
: (1)I've got a problem compiling a simple c++ hello world program using
: cout ... it says cant find iostream.h .... but i downloaded the
: djgpp c++ support files already .. why?
(see FAQ section 8.2)
Make sure your file has a `.cc' extension, indicating that it is C++
source code - if it does not, the compiler will not search the C++ include
directories for header files, and RHIDE won't link in some required
libraries. You could also use a `.cpp' extension, or `.C' (capital) which
I don't recommend.
Also ensure that you have downloaded all the required files for C++
compilation, notably lgp271b.zip.
: (2)Another problem is RHIDE ... everytime ... i exit to dos .. the color
I have no idea.
: (3)I understand that i do not need to use any dos extender to run
: programs using djgpp v2 ... do i need to include any files
: if i want to run the program in another computer ...
(see FAQ section 9.5)
Programs compiled with djgpp need a DPMI host to run. The safest way of
ensuring that one is available under all configurations is to include
CWSDPMI.EXE in your distribution (see its copying information first). If
your program can't find a DPMI server it will attempt to load CWSDPMI.
: (4)What r the things and commands that i need to use in specific ... to
: make my programs really 32 bit dos programs ..?
Your programs will already be 32-bit DPMI (Dos Protected Mode Interface)
programs - stop worrying and start coding. :) Compilation instructions are
in the file v2/readme.1st, which you should already have downloaded and
read, and very detailed answers to common and uncommon questions can be
found in the aforementioned FAQ.
: (5)Is there any good online text or tutorials on 32 bit dos programmming
: using djgpp ...
See the intriduction to the FAQ.
--
George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Merton College, Oxford
- Raw text -