[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: building emacs-dynamic-modules on Windows Msys64 mingw32
From: |
Stephen Leake |
Subject: |
Re: building emacs-dynamic-modules on Windows Msys64 mingw32 |
Date: |
Sat, 25 Oct 2014 07:25:36 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.94 (windows-nt) |
Eli Zaretskii <address@hidden> writes:
>> From: Stephen Leake <address@hidden>
>> Date: Fri, 24 Oct 2014 17:15:21 -0500
>>
>> make[2]: Leaving directory '/c/Projects/emacs/emacs-dynamic-module/lisp'
>> if test "no" = "yes"; then \
>> rm -f bootstrap-emacs.exe; \
>> ln temacs.exe bootstrap-emacs.exe; \
>> else \
>> ./temacs --batch --load loadup bootstrap || exit 1; \
>> test "X" = X || -zex emacs.exe; \
>> mv -f emacs.exe bootstrap-emacs.exe; \
>> fi
>> /bin/sh: line 4: ./temacs: cannot execute binary file: Exec format error
>
> What kind of file is 'temacs'? Can you invoke it from the Windows cmd
> prompt?
No:
'temacs.exe' is not recognized as an internal or external command,
operable program or batch file.
I discovered I have 'objdump' from Cygwin; it reports:
address@hidden objdump -f temacs.exe
temacs.exe: file format pei-i386
architecture: i386, flags 0x0000013a:
EXEC_P, HAS_DEBUG, HAS_SYMS, HAS_LOCALS, D_PAGED
start address 0x001372f0
address@hidden objdump -fh temacs.exe
temacs.exe: file format pei-i386
architecture: i386, flags 0x0000013a:
EXEC_P, HAS_DEBUG, HAS_SYMS, HAS_LOCALS, D_PAGED
start address 0x001372f0
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 001b5c09 00000fff 00000fff 000005ff 2**4
CONTENTS, ALLOC, LOAD, READONLY, CODE, DATA
1 .data 001cdf78 001b7000 001b7000 001b6400 2**6
CONTENTS, ALLOC, LOAD, DATA
2 .rdata 0001db10 00385000 00385000 00384400 2**6
CONTENTS, ALLOC, LOAD, READONLY, DATA
3 .eh_frame 00033810 003a3000 003a3000 003a2000 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
4 .bss 00b5c480 003d7000 003d7000 00000000 2**6
ALLOC
5 .idata 00003a8c 00f34000 00f34000 003d5a00 2**2
CONTENTS, ALLOC, LOAD, DATA
6 .CRT 00000034 00f38000 00f38000 003d9600 2**2
CONTENTS, ALLOC, LOAD, DATA
7 .tls 00000020 00f39000 00f39000 003d9800 2**2
CONTENTS, ALLOC, LOAD, DATA
8 .rsrc 0000d7f4 00f3a000 00f3a000 003d9a00 2**2
CONTENTS, ALLOC, LOAD, DATA
9 .debug_aranges 00001388 00f48000 00f48000 003e7200 2**3
CONTENTS, READONLY, DEBUGGING
10 .debug_info 00631255 00f4a000 00f4a000 003e8600 2**0
CONTENTS, READONLY, DEBUGGING
11 .debug_abbrev 0002590c 0157c000 0157c000 00a19a00 2**0
CONTENTS, READONLY, DEBUGGING
12 .debug_line 000ca14e 015a2000 015a2000 00a3f400 2**0
CONTENTS, READONLY, DEBUGGING
13 .debug_str 00011e3c 0166d000 0166d000 00b09600 2**0
CONTENTS, READONLY, DEBUGGING
14 .debug_loc 002bd822 0167f000 0167f000 00b1b600 2**0
CONTENTS, READONLY, DEBUGGING
15 .debug_macro 02e3ceae 0193d000 0193d000 00dd9000 2**0
CONTENTS, READONLY, DEBUGGING
16 .debug_ranges 0005ab98 0477a000 0477a000 03c16000 2**0
CONTENTS, READONLY, DEBUGGING
That's very close to the temacs.exe I built from the 24.3.94 tarball; it
has an additional section:
17 EMHEAP 02a00000 04eaa000 04eaa000 00000000 2**2
ALLOC
Is there some other binutils tool that might provide more detailed info
on what's wrong with this file?
--
-- Stephe
- building emacs-dynamic-modules on Windows Msys64 mingw32, Stephen Leake, 2014/10/24
- Re: building emacs-dynamic-modules on Windows Msys64 mingw32, Eli Zaretskii, 2014/10/25
- Re: building emacs-dynamic-modules on Windows Msys64 mingw32,
Stephen Leake <=
- Re: building emacs-dynamic-modules on Windows Msys64 mingw32, Eli Zaretskii, 2014/10/25
- Re: building emacs-dynamic-modules on Windows Msys64 mingw32, Aurélien Aptel, 2014/10/25
- Re: building emacs-dynamic-modules on Windows Msys64 mingw32, Stephen Leake, 2014/10/25
- Re: building emacs-dynamic-modules on Windows Msys64 mingw32, Aurélien Aptel, 2014/10/27
- Re: building emacs-dynamic-modules on Windows Msys64 mingw32, Andreas Schwab, 2014/10/27
- Re: building emacs-dynamic-modules on Windows Msys64 mingw32, Aurélien Aptel, 2014/10/27