www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/27/22:10:56

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help with C compiler [via LSMTP - see www.lsoft.com]
Date: Wed, 27 Nov 1996 20:13:14 -0800
Organization: Three pounds of chaos and a pinch of salt
Lines: 31
Message-ID: <329D115A.367@cs.com>
References: <199611271828 DOT NAA22554 AT delorie DOT com>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp105.cs.com
Mime-Version: 1.0
To: hein AT mail DOT 0800 DOT co DOT za
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

hein AT mail DOT 0800 DOT co DOT za wrote:
> 
> Please Help Djgpp and C Newbie
> 
> I am getting the following message when I run gcc: prog.c

Are you really typing "gcc: prog.c"?  Get rid of that colon if you are. 
Anyway, make sure you are in the same directory as your source code when
you go to compile.  Also if you've used an IDE like Borland to write the
code, make sure that it saved it as a '.c' file rather than '.cpp'.

How about a directory listing of where you keep your source code?

> Message is:
> gcc..exe: prog.c: No such file or directory (ENOENT)
> gcc.exe: No input files
> 
> This is a copy of my Autoexec.bat file as I think the problem my must be
> here.

The autoexec.bat looks normal.

-- 
John M. Aldrich, aka Fighteer I <fighteer AT cs DOT com>

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d- s+:- a-->? c++>$ U@>++$ p>+ L>++ E>+ W++ N++ o+ K? w(---) O-
M-- V? PS+ PE Y+ PGP- t+(-) 5- X- R+ tv+() b+++ DI++ D++ G e(*)>++++
h!() !r !y+()
------END GEEK CODE BLOCK------

- Raw text -


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