delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/10/17/04:06:17

From: mlouise AT it-c DOT dk
Message-ID: <57995.193.109.57.252.1034841940.squirrel@webmail.it-c.dk>
Date: Thu, 17 Oct 2002 10:05:40 +0200 (CEST)
Subject: Re: makefile and emacs problems with DJGPP
To: eliz AT is DOT elta DOT co DOT il
In-Reply-To: <Pine.SUN.3.91.1021017080927.3848G-100000@is>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1021017080927 DOT 3848G-100000 AT is>
Cc: djgpp AT delorie DOT com
X-Mailer: SquirrelMail (version 1.0.6)
MIME-Version: 1.0
X-MailScanner: Found to be clean
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> 
> On Wed, 16 Oct 2002 mlouise AT it-c DOT dk wrote:
> 
>> 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'
> 
> From this output, I suspect that you installed the Windows port of
> Emacs  (a.k.a. NTEmacs), not the DJGPP port.  If so, I think the
> problem is that  Windows programs cannot pass long command lines to
> DJGPP programs.   Alternatively, it could be that jeg (whatever that
> is) causes some  conflict.

'jeg' was a type writing mistake, it means 'I' in danish, which is my 
native language. My emacs-editor is for windows, and is named emacs-20.6 

 
> What command did you invoke at "M-x compile"s prompt, exactly?

cd c:/ml/Kode/
make -k 
C:/Emacs/emacs-20.6/bin/cmdproxy.exe -ec 'gcc -MM  parser.c \
	| sed '\''s/\(parser\)\.o[ :]*/\1.o parser.d:	/g'\'' > parser.d'
Makefile:147: global.d: No such file or directory (ENOENT)
Makefile:147: graph_information.d: No such file or directory (ENOENT)
Makefile:147: lexer.d: No such file or directory (ENOENT)
Makefile:147: parser.d: No such file or directory (ENOENT)
warning: extra args ignored after '-ec'
Microsoft Windows 2000 [version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

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'
Microsoft Windows 2000 [version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

c:\ml\Kode>C:/Emacs/emacs-20.6/bin/cmdproxy.exe -ec 'gcc -MM  
graph_information.c \
	| sed '\''s/\(graph_information\)\.o[ :]*/\1.o graph_information.d:
	/g'\'' > graph_information.d'
warning: extra args ignored after '-ec'
C:/Emacs/emacs-20.6/bin/cmdproxy.exe -ec 'gcc -MM  global.c \
	| sed '\''s/\(global\)\.o[ :]*/\1.o global.d:	/g'\'' > global.d'
make.exe: *** [graph_information.d] Error -1
Microsoft Windows 2000 [version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

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.

Compilation exited abnormally with code 2 at Thu Oct 17 09:44:54

 
>> I think the path c:\ml\Kode>C:/Emacs/emacs-20.6/bin/cmdproxy.exe is
>> wrong, 
> 
> No, it isn't wrong: forward slashes are okay here.
It is not the forward slashes I worry about. 'cmdproxy' is a emacs 
subprocess, I've heart, and have nothing to do with compiling. I don't know 
how to set another path. I tried changing Makefile, but it don't help.


with regards
Marie Louise

- Raw text -


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