delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/12/08:43:20

From: "Lee Goldblatt" <leegold AT nospam DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: newbie help me pleez... here's the error message si get:
Date: Wed, 11 Aug 1999 20:45:58 -0400
Lines: 37
Message-ID: <7ot5iq$rnu$1@autumn.news.rcn.net>
X-Trace: gluEhupNh08SCoxuU3yxFneb4CEdotYOsmRhAsIIUtI=
X-Complaints-To: abuse AT rcn DOT com
NNTP-Posting-Date: 12 Aug 1999 00:47:22 GMT
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MSMail-Priority: Normal
X-Priority: 3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

here's a chunk of my dos console,  I added the two required lines in my
autoexec.bat file, below that I tried to compile and create (i assume)
p1.exe .

C:\>path
PATH=C:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS;C:\WINDOWS\COMMAND

C:\>gcc p1.c -o p1.exe
gcc.exe: p1.c: No such file or directory (ENOENT)
gcc.exe: No input files
------------------------------------------------------------------------
--------------------------

I used a win95 text editor w/the source code:
and I pasted this text file into my c:\djgpp folder


/* thus is my 1st c program */
#include <stdio.h>

main()
{
  printf ("hello world\n");
  return 0;
}

------------------------------------------------------------------------
-----------------

I don't know squat but I'm trying,  can anyone make some suggestions
to help me compile?






- Raw text -


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