Mail Archives: djgpp/2007/11/04/20:30:08
Daniel Oljaca escreveu:
> Hi, thank you for responding. I just checked the file in my c:\programs,
> the file is there and it appears to be a C file. I checked the
> properties and all indications seem to say it was saved as samp.c. I
> don't see an extra .txt appendage. I did create this file with notepad
> but when I do a dir in ms dos it brings up samp.c. Like I said when I
> try to compile it i get this message: cc1.exe: error. samp.c: No such
> file or directory. I donot know what I am doing wrong. Any help would be
> appreciated, thanks again,
>
Dan,
I can "reproduce" the behaviour of yours not having a file named samp.c
in the directory:
E:\users\csrabak\Work>gcc samp.c -o samp.exe
gcc.exe: samp.c: No such file or directory (ENOENT)
gcc.exe: no input files
Could you please copy and paste the _exact_ messages gcc puts out?
Also, could you please post the result of a dir in c:\[c]programs
directory (or the directory from where you did try to compile?
- Raw text -