unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: one tmjd <tmjdone@gmail.com>
To: Jason Rumney <jasonr@gnu.org>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: how to compile emacs in windowns 7 64bit environment
Date: Fri, 23 Apr 2010 17:23:23 +0800	[thread overview]
Message-ID: <v2x3826e6441004230223v3229ab86i78e727a228c5256b@mail.gmail.com> (raw)
In-Reply-To: <4BD15CF7.1040803@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 2008 bytes --]

On Fri, Apr 23, 2010 at 4:40 PM, Jason Rumney <jasonr@gnu.org> 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...

[-- Attachment #2: Type: text/html, Size: 2769 bytes --]

      reply	other threads:[~2010-04-23  9:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-23  3:31 how to compile emacs in windowns 7 64bit environment one tmjd
2010-04-23  8:40 ` Jason Rumney
2010-04-23  9:23   ` one tmjd [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v2x3826e6441004230223v3229ab86i78e727a228c5256b@mail.gmail.com \
    --to=tmjdone@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=jasonr@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).