unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* changes in lisp/Makefile.in to resolve make bootstrap fail on cygwin native
@ 2004-02-14  8:39 Steven Wu
  2004-02-14 12:02 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Steven Wu @ 2004-02-14  8:39 UTC (permalink / raw)


Thanks for Harald Maier's hints, and I patched the lisp/Makefile.in. It 
seems to be the right thing to do. Here is the diff result:

*** Makefile.in.~1.48.~	Fri Nov  7 18:38:07 2003
--- Makefile.in	Sat Feb 14 01:33:10 2004
***************
*** 150,161 ****
   custom-deps: $(lisp)/cus-load.el doit
   	wd=$(lisp); $(setwins_almost); \
   	echo Directories: $$wins; \
! 	$(EMACS) $(EMACSOPT) -l cus-dep --eval '(setq 
generated-custom-dependencies-file "$(lisp)/cus-load.el")' -f 
custom-make-dependencies $$wins

   finder-data: doit
   	wd=$(lisp); $(setwins_almost); \
   	echo Directories: $$wins; \
! 	$(EMACS) $(EMACSOPT) -l finder --eval '(setq 
generated-finder-keywords-file "$(lisp)/finder-inf.el")' -f 
finder-compile-keywords-make-dist $$wins

   $(lisp)/loaddefs.el:
   	echo ";;; loaddefs.el --- automatically extracted autoloads" >> $@
--- 150,161 ----
   custom-deps: $(lisp)/cus-load.el doit
   	wd=$(lisp); $(setwins_almost); \
   	echo Directories: $$wins; \
! 	$(emacs) -l cus-dep --eval '(setq generated-custom-dependencies-file 
"$(lisp)/cus-load.el")' -f custom-make-dependencies $$wins

   finder-data: doit
   	wd=$(lisp); $(setwins_almost); \
   	echo Directories: $$wins; \
! 	$(emacs) -l finder --eval '(setq generated-finder-keywords-file 
"$(lisp)/finder-inf.el")' -f finder-compile-keywords-make-dist $$wins

   $(lisp)/loaddefs.el:
   	echo ";;; loaddefs.el --- automatically extracted autoloads" >> $@
***************
*** 170,176 ****
   autoloads: $(lisp)/loaddefs.el doit
   	wd=$(lisp); $(setwins); \
   	echo Directories: $$wins; \
! 	$(EMACS) $(EMACSOPT) -l autoload --eval '(setq 
generated-autoload-file "$(lisp)/loaddefs.el")' -f 
batch-update-autoloads $$wins

   $(lisp)/subdirs.el:
   	$(MAKE) $(MFLAGS) update-subdirs
--- 170,176 ----
   autoloads: $(lisp)/loaddefs.el doit
   	wd=$(lisp); $(setwins); \
   	echo Directories: $$wins; \
! 	$(emacs) -l autoload --eval '(setq generated-autoload-file 
"$(lisp)/loaddefs.el")' -f batch-update-autoloads $$wins

   $(lisp)/subdirs.el:
   	$(MAKE) $(MFLAGS) update-subdirs
***************
*** 274,280 ****
   # .elc is present.

   recompile: doit
! 	$(EMACS) $(EMACSOPT) -f batch-byte-recompile-directory $(lisp)

   # Prepare a bootstrap in the lisp subdirectory.
   #
--- 274,280 ----
   # .elc is present.

   recompile: doit
! 	$(emacs) -f batch-byte-recompile-directory $(lisp)

   # Prepare a bootstrap in the lisp subdirectory.
   #

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: changes in lisp/Makefile.in to resolve make bootstrap fail on cygwin native
  2004-02-14  8:39 changes in lisp/Makefile.in to resolve make bootstrap fail on cygwin native Steven Wu
@ 2004-02-14 12:02 ` Eli Zaretskii
  2004-02-14 17:22   ` Steven Wu
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2004-02-14 12:02 UTC (permalink / raw)
  Cc: emacs-devel

> Date: Sat, 14 Feb 2004 01:39:23 -0700
> From: "Steven Wu" <wus@qwest.net>
> 
> Thanks for Harald Maier's hints, and I patched the lisp/Makefile.in. It 
> seems to be the right thing to do. Here is the diff result:
> 
> *** Makefile.in.~1.48.~	Fri Nov  7 18:38:07 2003
> --- Makefile.in	Sat Feb 14 01:33:10 2004
> ***************
> *** 150,161 ****
>    custom-deps: $(lisp)/cus-load.el doit
>    	wd=$(lisp); $(setwins_almost); \
>    	echo Directories: $$wins; \
> ! 	$(EMACS) $(EMACSOPT) -l cus-dep --eval '(setq 

Please don't.  Replacing "$(EMACS) $(EMACSOPT)" with "$(emacs)"
breaks the build on those systems, like MS-DOS, which don't use a
sh-compatible shell to build Emacs.

We never needed to set EMACSLOADPATH explicitly in these targets.
Please try to figure out why is this needed in your case.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: changes in lisp/Makefile.in to resolve make bootstrap fail on cygwin native
  2004-02-14 12:02 ` Eli Zaretskii
@ 2004-02-14 17:22   ` Steven Wu
  2004-02-14 17:46     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Steven Wu @ 2004-02-14 17:22 UTC (permalink / raw)
  Cc: emacs-devel

On Feb 14, 2004, at 5:02 AM, Eli Zaretskii wrote:
>
> Please don't.  Replacing "$(EMACS) $(EMACSOPT)" with "$(emacs)"
> breaks the build on those systems, like MS-DOS, which don't use a
> sh-compatible shell to build Emacs.
>
> We never needed to set EMACSLOADPATH explicitly in these targets.
> Please try to figure out why is this needed in your case.
>
Ok, I'll revisit it again. I have no trouble building it on MacOS  X, 
but on cygwin, the build breaks becaues of the bootstrap-emacs cannot 
load loadup.el. By setting the EMACSLOADPATH cured the problem.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: changes in lisp/Makefile.in to resolve make bootstrap fail on cygwin native
  2004-02-14 17:22   ` Steven Wu
@ 2004-02-14 17:46     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2004-02-14 17:46 UTC (permalink / raw)
  Cc: emacs-devel

> Date: Sat, 14 Feb 2004 10:22:30 -0700
> From: "Steven Wu" <wus@qwest.net>
> 
> Ok, I'll revisit it again.

Thanks.

> I have no trouble building it on MacOS X, but on cygwin, the build
> breaks becaues of the bootstrap-emacs cannot load loadup.el. By
> setting the EMACSLOADPATH cured the problem.

This is usually a sign of some other factor being at work; I recall a
couple of similar problems in the past that would exibit similar
symptoms.  Please try to find the real reson for this trouble.

TIA

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-02-14 17:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-14  8:39 changes in lisp/Makefile.in to resolve make bootstrap fail on cygwin native Steven Wu
2004-02-14 12:02 ` Eli Zaretskii
2004-02-14 17:22   ` Steven Wu
2004-02-14 17:46     ` Eli Zaretskii

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).