Mail Archives: djgpp/1998/10/21/12:17:51
HI,
I just installed djgpp and I set the environment variable and all the
directories correctly.
I wrote a test program to check if djgpp was working, my program is:
# include <iostream.h>
void main()
{
cout << "hello" << endl;
}
//end of program
I tried compiling it from rhide and got this error:
$DJDIR/lib/g++-include/.: No such device (ENODEV)
what does this mean and what do I do to fix it.
I also got this error if I tried compiling from the msdos prompt like
so:
gcc hello.cpp
//got the same error
gxx hello.cpp -o hello.exe
//still got the same error
I am running under windows95 in msdos prompt.
//This is the output of go32-v2:
go32/v2 version 2.0 built Aug 12 1996 22:27:23
Usage: go32 coff-image [args]
Rename this to go32.exe only if you need a go32 that can run v2 binaries
as well as v1 binaries (old makefiles). Put ahead of the old go32 in
your PATH but do not delete your old go32 - leave it in the PATH after
this one. Set GO32_V2_DEBUG=y in the environment to get verbose output.
DPMI memory available: 14283 Kb
DPMI swap space available: 15477 Kb
//This is the contents of environ.lst:
TMP=C:\WINDOWS\TEMP
TEMP=C:\WINDOWS\TEMP
PROMPT=$p$g
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
windir=C:\WINDOWS
BLASTER=A220 I5 D1 H5 P330 T6
NWLANGUAGE=ENGLISH
SYS$COMPFILE=cec1/apps:langs\defcomp.ctl
WINDOWS_LOGIN=0
DJGPP=P:\DJGPP.ENV
PATH=P:\BIN;P:.;Z:\MAINS\MQASSEM\ASM;Y:.;X:.;W:.;V:.;U:.;T:.;
C:WINDOWS;C:\WINDOWS\COMMAND;C:\NOVELL\CLIENT32
CMDLINE=rhide
//This is the contents of autoexec.bat:
@ECHO OFF
C:\PROGRA~1\MCAFEE\VIRUSS~1\SCANPM.EXE C:\
@IF ERRORLEVEL 1 PAUSE
c:\windows\command\doskey
PATH
PATH C:\Novell\Client32
Set NWLANGUAGE=ENGLISH
//This is the contents of config.sys:
rem device=C:\TAISATAP.SYS /D:MSCD001
files=40
buffers=40
/*8888888888888888888888888*/
can someone please tell me what to do, I really need to get djgpp
working with c++. Thanks
// end of email
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
- Raw text -