delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/03/14:07:49

Message-ID: <345E2087.1340@virgin.net>
Date: Mon, 03 Nov 1997 19:05:43 +0000
From: Graham & Dina <graham DOT dina AT virgin DOT net>
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Help for beginner

I am a total beginner to Rhide, DJGPP and C....I have been doing lots of
reading of FAQ's etc but am totally stuck and would appreciate help.

When I first open Rhide and write a new program or open an existing .c
program it will compile and run just fine from the drop down menus, yet
if I edit the program then attempt to compile or run the program I get
the following message:

"Could not find the source file 'name.c'.      (name just representing
 make sure that the file exists or settings     any program)
in options/directories for correct paths.

It found the file just fine before I tried to compile for a second time
why would it suddenly not be able to find it????...also if I reboot it
finds the file again!

I have inclded a bug report taken from Rhide if this is any help :)

Thanks
Confused of Yorkshire!

This is a bug report for RHIDE Version 1.4 (Sep 30 1997 23:06:59)
I am running MS-DOS 7.0 (Windows 95)

Important environment variables:
PATH=C:\NETCOM;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DOS;C:\DJGPP\BIN;C:\MOUSE
DJGPP=C:\DJGPP\DJGPP.ENV
LFN=n
INFOPATH=c:/djgpp/info;c:/djgpp/gnu/emacs/info;c:/djgpp/info;c:/djgpp/gnu/emacs/info
LOCALEDIR=
LANGUAGE=
SHELL=
COMSPEC=C:\WINDOWS\COMMAND.COM
DJSYSFLAGS=

Here is the output from a sample compilation and link for C
executing: 
echo "int main(){return 0;}" | redir -eo gcc -Xlinker -v -Wa,-v -v -o
/dev/null -x c -
Reading specs from c:/djgpp/lib\specs
gcc version 2.7.2.1
 c:/djgpp/bin\cpp.exe -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=7
-Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=1 -D__unix__
-D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__DJGPP_MINOR__=1
-D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=1 -
c:/djgpp/tmp/RHkaaaaa\ccbaaaaa
GNU CPP version 2.7.2.1 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 c:/djgpp/include
 c:/djgpp/contrib/grx20/include
 /usr/local/include
 /usr/local/go32/include
 /usr/local/lib/gcc-lib/go32/2.7.2.1/include
 /usr/include
End of search list.
 c:/djgpp/bin\cc1.exe c:/djgpp/tmp/RHkaaaaa\ccbaaaaa -quiet -dumpbase
-.c -version -o c:/djgpp/tmp/RHkaaaaa\cccaaaaa
GNU C version 2.7.2.1 (80386, BSD syntax) compiled by GNU C version
2.7.2.1.
 c:/djgpp/bin\as.exe -v -o c:/djgpp/tmp/RHkaaaaa\ccdaaaaa
c:/djgpp/tmp/RHkaaaaa\cccaaaaa
GNU assembler version 2.7 (i386-go32-msdos)
 c:/djgpp/bin\ld.exe -o /dev/null c:/djgpp/lib\crt0.o -Lc:/djgpp/lib -v
c:/djgpp/tmp/RHkaaaaa\ccdaaaaa -Tdjgpp.djl -lgcc -lc -lgcc
ld version 2.7 (with BFD 2.7)
 c:/djgpp/bin\stubify.exe -v /dev/null
Warning: input file is not COFF or stubbed COFF
.exe: No such file or directory (ENOENT)
stubify for djgpp V2.X executables, Copyright (C) 1995 DJ Delorie

End of the sample

Here is the output from a sample compilation and link for C++
executing: 
echo "int main(){return 0;}" | redir -eo gcc -Xlinker -v -Wa,-v -v -o
/dev/null -x c++ -
Reading specs from c:/djgpp/lib\specs
gcc version 2.7.2.1
 c:/djgpp/bin\cpp.exe -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2
-D__cplusplus -D__GNUC_MINOR__=7 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2
-DDJGPP_MINOR=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__
-D__DJGPP__=2 -D__DJGPP_MINOR__=1 -D__unix -D__i386 -D__GO32 -D__MSDOS
-D__DJGPP=2 -D__DJGPP_MINOR=1 - c:/djgpp/tmp/RHkaaaaa\ccbaaaaa
GNU CPP version 2.7.2.1 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 c:/djgpp/lang/cxx
 c:/djgpp/include
 c:/djgpp/contrib/grx20/include
 /usr/local/lib/g++-include
 /usr/local/include
 /usr/local/go32/include
 /usr/local/lib/gcc-lib/go32/2.7.2.1/include
 /usr/include
End of search list.
 c:/djgpp/bin\cc1plus.exe c:/djgpp/tmp/RHkaaaaa\ccbaaaaa -quiet
-dumpbase -.cc -version -o c:/djgpp/tmp/RHkaaaaa\cccaaaaa
GNU C++ version 2.7.2.1 (80386, BSD syntax) compiled by GNU C version
2.7.2.1.
 c:/djgpp/bin\as.exe -v -o c:/djgpp/tmp/RHkaaaaa\ccdaaaaa
c:/djgpp/tmp/RHkaaaaa\cccaaaaa
GNU assembler version 2.7 (i386-go32-msdos)
 c:/djgpp/bin\ld.exe -o /dev/null c:/djgpp/lib\crt0.o -Lc:/djgpp/lib -v
c:/djgpp/tmp/RHkaaaaa\ccdaaaaa -Tdjgpp.djl -lgcc -lc -lgcc
ld version 2.7 (with BFD 2.7)
 c:/djgpp/bin\stubify.exe -v /dev/null
Warning: input file is not COFF or stubbed COFF
.exe: No such file or directory (ENOENT)
stubify for djgpp V2.X executables, Copyright (C) 1995 DJ Delorie

End of the sample



My problem is the following:
============================

- Raw text -


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