automake-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] Automake support for ObjC++


From: Peter Breitenlohner
Subject: Re: [PATCH] Automake support for ObjC++
Date: Wed, 16 Sep 2009 10:11:58 +0200 (CEST)
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)

On Wed, 16 Sep 2009, Peter Breitenlohner wrote:

On Tue, 15 Sep 2009, Ralf Wildenhues wrote:

...  Maybe it can even omit the objcxx.m4 file completely?

Two more things:

(1) Automake's choice of linker:

With the ObjC++ patch the current choice is

C only => CCLD
ObjC (possibly plus C) => OBJCLD
C++ (possibly plus C, ObjC) => CXXLD
ObjC++ (possibly plus c, ObjC, C++) => OBJCXXLD

However, for
C++ plus ObjC (possibly plus C)
should't it actually be OBJCXXLD?

That would be quite awkward to implement (indirectly requiring
AC_PROG_OBJCXX among other things).  Moreover in practice CXXLD and OBJCXXLD
are often the same (both g++), and the user can always enforce the use of
OBJCXXLD via
        nodist_EXTRA_*_SOURCES = dummy.mm

What do you think?  Maybe this should be made explicit in the manual.

=================

Another completely unrelated item:

it would be nice if Automake could run gzip and bzip2 (and others) in
parallel when creating the distribution tarballs.  In a parallel make that
could save quite some time when running dist(check) for a largish project.

Feasible?

=================

Regards
Peter Breitenlohner <address@hidden>




reply via email to

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