unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* require GNU make to build emacs?
@ 2008-02-24 23:44 Dan Nicolaescu
  2008-02-25  2:38 ` Stefan Monnier
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Dan Nicolaescu @ 2008-02-24 23:44 UTC (permalink / raw)
  To: emacs-devel


Hi,

Shouldn't we require GNU make to build emacs?  It is widely available,
and excellent too.  It works on all platforms we support.

Having a modern make should help simplify the makefiles and maybe the
whole build process.

GCC has required GNU make for 3-4 years without any problems.

Thanks

        --dan




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

* Re: require GNU make to build emacs?
  2008-02-24 23:44 require GNU make to build emacs? Dan Nicolaescu
@ 2008-02-25  2:38 ` Stefan Monnier
  2008-02-25  2:52   ` Dan Nicolaescu
  2008-02-25  4:29 ` Eli Zaretskii
  2008-02-25 19:01 ` Richard Stallman
  2 siblings, 1 reply; 11+ messages in thread
From: Stefan Monnier @ 2008-02-25  2:38 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: emacs-devel

> Shouldn't we require GNU make to build Emacs?  It is widely available,
> and excellent too.  It works on all platforms we support.

> Having a modern make should help simplify the makefiles and maybe the
> whole build process.

> GCC has required GNU make for 3-4 years without any problems.

I don't think we should worry about it now,


        Stefan




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

* Re: require GNU make to build emacs?
  2008-02-25  2:38 ` Stefan Monnier
@ 2008-02-25  2:52   ` Dan Nicolaescu
  2008-02-25  4:19     ` Stefan Monnier
  0 siblings, 1 reply; 11+ messages in thread
From: Dan Nicolaescu @ 2008-02-25  2:52 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

Stefan Monnier <monnier@iro.umontreal.ca> writes:

  > > Shouldn't we require GNU make to build Emacs?  It is widely available,
  > > and excellent too.  It works on all platforms we support.
  > 
  > > Having a modern make should help simplify the makefiles and maybe the
  > > whole build process.
  > 
  > > GCC has required GNU make for 3-4 years without any problems.
  > 
  > I don't think we should worry about it now,

What you do mean by "now"?
Will "now" change? :-)




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

* Re: require GNU make to build emacs?
  2008-02-25  2:52   ` Dan Nicolaescu
@ 2008-02-25  4:19     ` Stefan Monnier
  0 siblings, 0 replies; 11+ messages in thread
From: Stefan Monnier @ 2008-02-25  4:19 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: emacs-devel

>> > Shouldn't we require GNU make to build Emacs?  It is widely available,
>> > and excellent too.  It works on all platforms we support.
>> 
>> > Having a modern make should help simplify the makefiles and maybe the
>> > whole build process.
>> 
>> > GCC has required GNU make for 3-4 years without any problems.
>> 
>> I don't think we should worry about it now,

> What you do mean by "now"?
> Will "now" change? :-)

Probably, but ... not now,


        Stefan




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

* Re: require GNU make to build emacs?
  2008-02-24 23:44 require GNU make to build emacs? Dan Nicolaescu
  2008-02-25  2:38 ` Stefan Monnier
@ 2008-02-25  4:29 ` Eli Zaretskii
  2008-02-25  5:22   ` Dan Nicolaescu
  2008-02-25 19:01 ` Richard Stallman
  2 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2008-02-25  4:29 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: emacs-devel

> From: Dan Nicolaescu <dann@ics.uci.edu>
> Date: Sun, 24 Feb 2008 15:44:43 -0800
> 
> Shouldn't we require GNU make to build emacs?

Requesting a specific flavor of Make is a limitation and a burden on
users who build Emacs, and as such, we shouldn't impose it without a
good reason, IMO.  Is there a good reason for that?

> Having a modern make should help simplify the makefiles and maybe the
> whole build process.

Is that the only reason, or are there real problems with non-GNU Make
in our build process?

> GCC has required GNU make for 3-4 years without any problems.

They require it for a good reason.  But their situation is different:
most users will not build a compiler, but Emacs is a different story.




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

* Re: require GNU make to build emacs?
  2008-02-25  4:29 ` Eli Zaretskii
@ 2008-02-25  5:22   ` Dan Nicolaescu
  2008-02-25 20:29     ` Eli Zaretskii
  2008-02-26  2:00     ` Xavier Maillard
  0 siblings, 2 replies; 11+ messages in thread
From: Dan Nicolaescu @ 2008-02-25  5:22 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

  > > From: Dan Nicolaescu <dann@ics.uci.edu>
  > > Date: Sun, 24 Feb 2008 15:44:43 -0800
  > > 
  > > Shouldn't we require GNU make to build emacs?
  > 
  > Requesting a specific flavor of Make is a limitation and a burden on
  > users who build Emacs, and as such, we shouldn't impose it without a
  > good reason, IMO.  Is there a good reason for that?

Not sure if we should be discussing this given that Stefan already said
"not now", but ... 
Yes, IMO there's a good reason.  Being able to use conditionals,
includes, and other advanced features should allow us to avoid using the
C preprocessor to create Makefiles, and to make the bootstrap a bit more
reliable (we have way too many parallel make failures and other
flakiness).


  > > Having a modern make should help simplify the makefiles and maybe the
  > > whole build process.
  > 
  > Is that the only reason, or are there real problems with non-GNU Make
  > in our build process?

The fact that we only use the most basic make features is a problem.






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

* Re: require GNU make to build emacs?
  2008-02-24 23:44 require GNU make to build emacs? Dan Nicolaescu
  2008-02-25  2:38 ` Stefan Monnier
  2008-02-25  4:29 ` Eli Zaretskii
@ 2008-02-25 19:01 ` Richard Stallman
  2 siblings, 0 replies; 11+ messages in thread
From: Richard Stallman @ 2008-02-25 19:01 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: emacs-devel

    Shouldn't we require GNU make to build emacs?

Before a drastic change like that, we certainly should ask the users
to say if it would be a problem.

Stefan and Yidong, if you would like to do this, please
talk with me about it.





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

* Re: require GNU make to build emacs?
  2008-02-25  5:22   ` Dan Nicolaescu
@ 2008-02-25 20:29     ` Eli Zaretskii
  2008-02-26  1:09       ` Dan Nicolaescu
  2008-02-26  2:00     ` Xavier Maillard
  1 sibling, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2008-02-25 20:29 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: emacs-devel

> From: Dan Nicolaescu <dann@ics.uci.edu>
> Cc: emacs-devel@gnu.org
> Date: Sun, 24 Feb 2008 21:22:41 -0800
> 
> Yes, IMO there's a good reason.  Being able to use conditionals,
> includes, and other advanced features should allow us to avoid using the
> C preprocessor to create Makefiles

The way to avoid using cpp is to autoconfiscate our configury, so that
the configure script produces src/Makefile from src/Makefile.in.  (Not
that I think this is such an urgent task, given that the current setup
works so well and that the rate of new OSes and/or changes in the
existing OSes is so low lately.)

> and to make the bootstrap a bit more reliable (we have way too many
> parallel make failures and other flakiness).

Failures with parallel builds are probably due to little use, not
non-GNU Make.  Most, if not all, of those I remember were fixed easily
by adding missing dependencies.  But if you have specific examples for
these problems, by all means post them.

>   > > Having a modern make should help simplify the makefiles and maybe the
>   > > whole build process.
>   > 
>   > Is that the only reason, or are there real problems with non-GNU Make
>   > in our build process?
> 
> The fact that we only use the most basic make features is a problem.

Again, specific problems, beyond those solved by autoconf, would be
appreciated.




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

* Re: require GNU make to build emacs?
  2008-02-25 20:29     ` Eli Zaretskii
@ 2008-02-26  1:09       ` Dan Nicolaescu
  2008-02-26  4:15         ` Eli Zaretskii
  0 siblings, 1 reply; 11+ messages in thread
From: Dan Nicolaescu @ 2008-02-26  1:09 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

  > > From: Dan Nicolaescu <dann@ics.uci.edu>
  > > Cc: emacs-devel@gnu.org
  > > Date: Sun, 24 Feb 2008 21:22:41 -0800
  > > 
  > > Yes, IMO there's a good reason.  Being able to use conditionals,
  > > includes, and other advanced features should allow us to avoid using the
  > > C preprocessor to create Makefiles

Does it make any sense to discuss this now? Doubtful... 

  > The way to avoid using cpp is to autoconfiscate our configury, so that
  > the configure script produces src/Makefile from src/Makefile.in.  (Not
  > that I think this is such an urgent task, given that the current setup
  > works so well and that the rate of new OSes and/or changes in the
  > existing OSes is so low lately.)

Or we could just split the s/* m/* files into C header files and real
makefiles. 
I would just mean change the syntax from C to make for the part that is
actually intended to be used in makefiles.  Of course the proof that
this is indeed possible is in the details, but it seems that there's a
good changes.





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

* Re: require GNU make to build emacs?
  2008-02-25  5:22   ` Dan Nicolaescu
  2008-02-25 20:29     ` Eli Zaretskii
@ 2008-02-26  2:00     ` Xavier Maillard
  1 sibling, 0 replies; 11+ messages in thread
From: Xavier Maillard @ 2008-02-26  2:00 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: eliz, emacs-devel


   The fact that we only use the most basic make features is a problem.

Basic but portable which is really important in my opinion. Using
basic features ensures that GNU Emacs can be built on every
supported platforms.

	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org




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

* Re: require GNU make to build emacs?
  2008-02-26  1:09       ` Dan Nicolaescu
@ 2008-02-26  4:15         ` Eli Zaretskii
  0 siblings, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2008-02-26  4:15 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: emacs-devel

> From: Dan Nicolaescu <dann@ics.uci.edu>
> Cc: emacs-devel@gnu.org
> Date: Mon, 25 Feb 2008 17:09:40 -0800
> 
>   > The way to avoid using cpp is to autoconfiscate our configury, so that
>   > the configure script produces src/Makefile from src/Makefile.in.  (Not
>   > that I think this is such an urgent task, given that the current setup
>   > works so well and that the rate of new OSes and/or changes in the
>   > existing OSes is so low lately.)
> 
> Or we could just split the s/* m/* files into C header files and real
> makefiles. 

That'd defeat one of the benefits of autoconfiscation: avoid the need
to maintain the gazillion s/*.h and m/*.h files by hand.




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

end of thread, other threads:[~2008-02-26  4:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-24 23:44 require GNU make to build emacs? Dan Nicolaescu
2008-02-25  2:38 ` Stefan Monnier
2008-02-25  2:52   ` Dan Nicolaescu
2008-02-25  4:19     ` Stefan Monnier
2008-02-25  4:29 ` Eli Zaretskii
2008-02-25  5:22   ` Dan Nicolaescu
2008-02-25 20:29     ` Eli Zaretskii
2008-02-26  1:09       ` Dan Nicolaescu
2008-02-26  4:15         ` Eli Zaretskii
2008-02-26  2:00     ` Xavier Maillard
2008-02-25 19:01 ` Richard Stallman

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