delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/04/12:45:25

From: "Michelle" <neohkl AT cyberway DOT com DOT sg>
Newsgroups: comp.os.msdos.djgpp
Subject: Repeating execution with no result.
Date: Mon, 5 Jun 2000 00:32:11 +0800
Lines: 50
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 203.117.44.57
Message-ID: <393a849e.0@news.cyberway.com.sg>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

CAn anybody help me please.

I am new to C and newer to DJGPP.

I am just trying to run the world program on my newly installed DJGPP. In
the DOS windows, things just kept repeating itself and scrolled upwards
through my DOS windows and I had to stop with Crl-C. with no exe file
produced

Program source world.c

#include <stdio.h>

int main(void)
{
  printf("Hello, world!\n");
  return 0;
}


command line

gcc world.exe -o world.c -lm

my "latest" environmental setting

TMP=C:\WINDOWS\TEMP
TEMP=C:\WINDOWS\TEMP
PROMPT=$p$g
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
DJGPP = C:\DJGPP\DJGPP.ENV
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\PROGRA~1\NETWOR~1\MCAFEE~1;C:\PROGRA~1
\NETWOR~1\PGP;C:\JDK1.3\BIN;;C:\JDK1.3\LIB;C:\DJGPP\BIN;C:\DJGPP\INCLUDE;C:\
PKZIP
windir=C:\WINDOWS
BLASTER=A220 I5 D1 T4

Running
OS Win95 OSR2
64 MB RAM
!66MMX

TIA

Rgds

NKL


- Raw text -


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