emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to compile emacs in windowns 7 64bit environment


From: one tmjd
Subject: Re: how to compile emacs in windowns 7 64bit environment
Date: Fri, 23 Apr 2010 17:23:23 +0800

On Fri, Apr 23, 2010 at 4:40 PM, Jason Rumney <address@hidden> wrote:
On 23/04/2010 11:31, one tmjd wrote:
I modified sources(version 23.1) etc.

Try without the above, then you will be starting with a known good base. Then report what difficulties you have (including any error messages).



I started from a new emacs-23.1.tar, using mingw-w64-bin_x86_64-mingw_20100410_sezero.

this is the output error(short) and how I make it through:
1:

Emacs successfully configured.
Run `make' to build, then run `make install' to install.
makefile:159: *** missing separator.  Stop.
--------------------------------------------------------
change nt/makefile 146 to :
 ifeq "$(PROCESSOR_ARCHITECTURE)" "AMD64"
 
2:

Using C:\Windows\system32\cmd.exe as shell.
gcc -I. -c -gdwarf-2 -g3  -mcpu=i686 -O2      -o oo-spd/i386/addpm.o addpm.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from addpm.c:43:
e:\emacs\emacs-23.1-gcc-64\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.4.4/../../../../x86_64-w64-mi
ngw32/include/shlobj.h:15:2: error: #error _WIN32_IE setting conflicts
 
---------------------------------------------------------
change addpm.c:38 to :
//#define _WIN32_IE 0x400


3:

gmake   -C ../lib-src all
gmake[1]: Entering directory `E:/emacs/emacs-23.1-gcc-64/emacs-23.1/lib-src'
makefile:159: *** missing separator.  Stop.

-----------------------------------------------------------

change lib-src/makefile:146 to:
 ifeq "$(PROCESSOR_ARCHITECTURE)" "AMD64"
 
4:

e:/emacs/emacs-23.1-gcc-64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.4.4/../../../../x86_64-w64-mi
ngw32/lib/libmingwex.a(lib64_libmingwex_a-_stat.o): In function `stat':
/W64_158146-src/build-crt/../mingw-w64-crt/stdio/_stat.c:26: multiple definition of `stat'
oo-spd/i386/ntlib.o:E:\emacs\emacs-23.1-gcc-64\emacs-23.1\lib-src/ntlib.c:251: first defined here
collect2: ld returned 1 exit status

-------------------------------------------------------------
I don't know what to do now...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]