emacs-devel
[Top][All Lists]
Advanced

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

Re: Two strange messages while building Emacs on MS-Windows


From: Óscar Fuentes
Subject: Re: Two strange messages while building Emacs on MS-Windows
Date: Sat, 08 Dec 2012 14:24:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> Your cmd.exe is dysfunctional.

That's what I was suspecting.

>> What's the oldest OS version supported by the build scripts?
>
> Windows NT4.

Thanks.

So Wine is neglecting cmd.exe. Using one from a Windows XP install
allows the script to complete. Then, buildobj.h causes a failure because
it contains too much " and '. Apparently make-buildobj-SH: is used
instead of make-buildobj-CMD. Fixing that by hand allows the process to
reach this point:

mingw32-make[1]: Entering directory `D:/exp/emacs/emacs/lib-src'
mmingw32-make[1]: Leaving directory `D:/exp/emacs/emacs/lib-src'
ingw32-make[1]: *** No rule to make target `../lisp/abbrev.elc', needed by 
`DOC'.  Stop.
mingw32-make: *** [all-other-dirs-gmake] Error 2


Why DOC depends on .elc files when there is no temacs.exe for building
them?

Then I blindly remove the DOC target from here and there and the build
reaches the point where temacs.bin is created:

gcc -o oo-spd/i386/temacs.bin  -gdwarf-2 -g3   -Ld:/exp/emacs/gnuwin32/lib 
-Wl,-stack,0x00800000 -Wl,-heap,0x00100000 -Wl,-image-base,0x01000000 
-Wl,-subsystem,console -Wl,-entry,__start -Wl,-Map,oo-spd/i386/temacs.map 
oo-spd/i386/firstfile.o oo-spd/i386/emacs.res oo-spd/i386/temacs0.a 
oo-spd/i386/temacs1.a oo-spd/i386/temacs2.a oo-spd/i386/lastfile.a 
../lib/oo-spd/i386/libgnu.a -lwinmm -ladvapi32 -lgdi32 -lcomdlg32 -luser32 
-lmpr -lshell32 -lwinspool -lole32 -lcomctl32 -lusp10  
"./../nt/oo-spd/i386/addsection" "oo-spd/i386/temacs.bin" 
"oo-spd/i386/temacs.exe" EMHEAP 27
Dumping from oo-spd/i386/temacs.bin
          to oo-spd/i386/temacs.exe
"./oo-spd/i386/temacs.exe" -batch -l loadup dump
mingw32-make[1]: *** [oo-spd/i386/emacs.exe] Error -1
mingw32-make[1]: Leaving directory `D:/exp/emacs/emacs/src'
mingw32-make: *** [all-other-dirs-gmake] Error 2



Well, that's enough for now.




reply via email to

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