From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Siegfried Heintze" Newsgroups: gmane.emacs.help Subject: Re: Extending Emacs with C Date: Tue, 11 Nov 2003 19:19:33 -0700 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3fb19a01$1@news.seqnet.net> References: <3fb08926$1@news.seqnet.net> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1068604317 929 80.91.224.253 (12 Nov 2003 02:31:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Nov 2003 02:31:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 12 03:31:54 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AJknS-0002Yz-00 for ; Wed, 12 Nov 2003 03:31:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AJlio-0008Fn-Bb for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Nov 2003 22:31:10 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn14feed!worldnet.att.net!199.45.49.37!cyclone1.gnilink.net!small1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!intern1.nntp.aus1.giganews.com!nntp.giganews.com!nntp.revealsystems.com!news.revealsystems.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Tue, 11 Nov 2003 20:20:04 -0600 Original-Newsgroups: gnu.emacs.help X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Original-NNTP-Posting-Host: 207.174.27.232 X-Original-Trace: 11 Nov 2003 19:25:05 -0700, 207.174.27.232 Original-Lines: 63 Original-NNTP-Posting-Host: 207.174.23.4 Original-X-Trace: sv3-J3oErKfXb2lK0AMHtZu9RngF1LgaIw/Rta3wbbSgmvPRL5KARpNep4RmTEieeL7coM82m5sj0IP1piZ!4wn1rkRWdGNybe+VqAKMVdaEb1jhsXQVUHln+go9Eoddbyd6Jr4T7+aWNr7XgHrH3Dqwmn0= Original-X-Complaints-To: abuse@revealsystems.com X-DMCA-Complaints-To: abuse@revealsystems.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:118144 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:14084 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14084 I had trouble getting the sources by googling for them so I downloaded cygwin which includes emacs 21.2 sources. I then used these bat files: call_12_configure.bat set MSVCDir=\Program Files\Microsoft Visual Studio\VC98 set INCLUDE=%MSVCDir%\ATL\INCLUDE;%MSVCDir%\INCLUDE;%MSVCDir%\MFC\INCLUDE;%INCLU DE% set LIB=%MSVCDir%\LIB;%MSVCDir%\MFC\LIB;%LIB% set PATH=%MSVCDir%\bin;\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;c:\GNU_Utilities\cygwin\bin call .\configure.bat call_12_nmake.bat set MSVCDir=\Program Files\Microsoft Visual Studio\VC98 set INCLUDE=%MSVCDir%\ATL\INCLUDE;%MSVCDir%\INCLUDE;%MSVCDir%\MFC\INCLUDE;%INCLU DE% set LIB=%MSVCDir%\LIB;%MSVCDir%\MFC\LIB;%LIB% set PATH=%MSVCDir%\bin;\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;c:\GNU_Utilities\cygwin\bin nmake set MSVCDir=\Program Files\Microsoft Visual Studio\VC98 set INCLUDE=%MSVCDir%\ATL\INCLUDE;%MSVCDir%\INCLUDE;%MSVCDir%\MFC\INCLUDE;%INCLU DE% set LIB=%MSVCDir%\LIB;%MSVCDir%\MFC\LIB;%LIB% set PATH=%MSVCDir%\bin;\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;c:\GNU_Utilities\cygwin\bin nmake install "Khuong D Pham" wrote in message news:ud9sb.27798$jf4.1579491@news000.worldonline.dk... > How did you compile emacs with msvc6. I have tried it without success > I get this when I run nmake after execute configure.bat: > > makefile (25): fatal error U1035: syntax error : expected ':' or '=' > separator > > > "Siegfried Heintze" wrote in message > news:3fb08926$1@news.seqnet.net... > > I just compiled emacs on Win2000 using cl v12 (aka MSVC6). Hurray. Too bad > > it it does not link when using the latest Microsoft C compiler (v 13.1). > > Good thing I kept v12 around. > > > > Are there any documents that can guide me on extending emacs (elisp) with > C? > > I want to call some COM objects from elisp. > > > > Thanks, > > Siegfried > > > > > >