www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/10/16/15:41:03

From: grape AT suned1 DOT Nswses DOT Navy DOT Mil (Mike Grapevine)
Date: Fri, 16 Oct 92 12:12:32 PDT
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: GNU C/C++ compiler problem under DOS

Hello,
	I have received the GNU C/C++ compiler with
my copy of Desqview/X and I have a problem with it.
When I try to compile whith it (in a DOS environment)
it seems to do nothing but access the disk, one time 
for 3 hours, even on the simplest program, such as this
one:

#include <stdlib.h>
#include <stdio.h>

main()
{
        printf("\nhello");
}

	In my autoexec.bat file I have made
the following environmental declarations:

rem **** GNU c/c++ definitions ****
set path=%PATH%;D:/GNUC/bin
set qmake=
set GO32=emu D:/GNUC/emu387/emu387
set TMPDIR=f:/
set GO32TMP=f:/
set COMPILER_PATH=D:/GNUC/bin
set C_INCLUDE_PATH=D:/GNUC/include
set CPLUS_INCLUDE_PATH=D:/GNUC/cplusinn:D:/GNUC/include
set OBJC_INCLUDE_PATH=D:/GNUC/include
set OBJCPLUS_INCLUDE_PATH=D:/GNUC/include
set LIBRARY_PATH=D:/GNUC/lib
set GCCLIB=D:/GNUC/lib
set BISON_SIMPLE=D:/GNUC/lib/bison.simple
set BISON_HAIRY=D:/GNUC/lib/bison.hairy
set FLEX_SKELETON=D:/GNUC/lib/flex.skeleton

	Also I am using the following makefile:

CFLAGS= -O -c -DMSDOS -DSHAPE 

O = xtest.c

L = -lxaw -lxmu -lxt -lxlib -lsys -lc -lm

xtest:
     gcc -o xtest.exe  $(O) $(L) $(CFLAGS)


	Has anybody else seen this problem, if so
please contact me as I am very interested in getting
this GNU compiler working on my DOS machine.

        Michael D. Grapevine          |  One of these days,
        USN SWC                       |    One of these days,
        Code 4L32                     |  POW!
        grape AT suned1 DOT nswses DOT navy DOT mil  |   It's gonna happen,
        grape AT tecnet1 DOT jcte DOT jcs DOT mil    |     and I won't even realize it.

- Raw text -


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