Mail Archives: djgpp/2003/11/17/14:46:05
Hello.
Chris Mantoulidis wrote:
>
> When i make an executable file with DJGPP 2.03 (gcc 3.3.2 version i
> think) i can't delete it...
>
> i use this command to make the executables (c++):
>
> gxx foo.cc -o foo.exe
>
> and i get a warning that the file does not have a new line character
> (or something), doesn't say which file.
It does. Look closer. It will look something like the warning below.
bash-2.04$ echo -n "int main (void) { return 1; }" > t.c
bash-2.04$ gcc -Wall -o t t.c
t.c:1:30: warning: no newline at end of file
> then when i try to delete the file (the exe) i get "file is being used
> by another person or program" error box so i can't delete it, but i
> can execute it
>
> any help???
Try exiting the DOS session and then try again. If that does work, exit all
DOS sessions and try again. If that doesn't work, reboot Windows and try
again.
Regards,
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
"You can't evaluate a man by logic alone." -- McCoy, "I, Mudd", Star Trek
- Raw text -