From: mlouise AT it-c DOT dk Message-ID: <12879.193.109.57.252.1034776702.squirrel@webmail.it-c.dk> Date: Wed, 16 Oct 2002 15:58:22 +0200 (CEST) Subject: makefile and emacs problems with DJGPP To: djgpp AT delorie DOT com X-Mailer: SquirrelMail (version 1.0.6) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MailScanner: Found to be clean Reply-To: djgpp AT delorie DOT com Dear DJGPP-mailing list. How do I set my already installed emacs-editor so it can communicate with the DJGPP c-compiler I've just installed? I can compile, link and make an .exe file from the prompt, but when I use the make -k command in my emacs-editor jeg receive the following message for each file included (in the example parser.c): c:\ml\Kode>C:/Emacs/emacs-20.6/bin/cmdproxy.exe -ec 'gcc -MM lexer.c \ | sed '\''s/\(lexer\)\.o[ :]*/\1.o lexer.d: /g'\'' > lexer.d' warning: extra args ignored after '-ec' Microsoft Windows 2000 [version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. -- I think the path c:\ml\Kode>C:/Emacs/emacs-20.6/bin/cmdproxy.exe is wrong, but I don't know how to change or which path to put instead. At the end the following message stands: c:\ml\Kode>gcc global.o graph_information.o lexer.o parser.o -L. -o parser warning: extra args ignored after '-ec' make.exe: Failed to remake makefile `graph_information.d'. c:/djgpp/bin/ld.exe: cannot open output file parser: Permission denied (EACCES) collect2: ld returned 1 exit status make.exe: *** [parser] Error 1 make.exe: Target `default' not remade because of errors. -- No .d files is created. I hope the above information is sufficient. With regards Marie Louise