bug-libtool
[Top][All Lists]
Advanced

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

Re: multi-language support


From: Gary V. Vaughan
Subject: Re: multi-language support
Date: Mon, 3 Sep 2001 01:24:13 +0100
User-agent: Mutt/1.3.21i

Multilianguage support is definitely much more stable in the
multi-language branch than in the merge I made to the trunk.  If you
need multilanguage features for mission critical builds, then it is
certainly too early to be using 1.4b.

The downside is that I don't have any need of the multi-language
features myself, so I am relying on patches from users to fix any
outstanding problems.  Your descriptions are helpful though, and in
time I will get around to looking at this if no one beats me to it...

HTH,
        Gary.

On Mon, Aug 20, 2001 at 02:58:17PM +0900, Daiki Ueno wrote:
> I'm using GNU libtool 1.4b.
> 
> Although the section "New in 1.4b" in NEWS file shows that both C++
> and GCJ supports are merged from multi-language-branch, I found at
> least three problem about multi-language support.
> 
> First, AC_LIBTOOL_PROG_COMPILER_PIC adds the flag "-DPIC" to
> $lt_prog_compiler_pic_TAGNAME regardless of TAGNAME.  Thanks to this,
> the GCJ compiler is always believed to be just as if it cannot produce
> PIC.
> 
> Second, AC_LIBTOOL_COMPILER_OPTION only takes account of $CFLAGS.  When
> the current language is set to C++, the compilation command held in
> $ac_compile is expanded to:
> 
>   $CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&AS_MESSAGE_LOG_FD
> 
> This means that concerning C++ such a tests will bring the meaningless
> result.
> 
> Third, even worse, because autoconf doesn't support GCJ at all,
> AC_LIBTOOL_LANG_GCJ_CONFIG uses the C language setting as default.
> At this time $ac_compile doesn't contains $GCJFLAGS,
> AC_LIBTOOL_PROG_CC_C_O fails because it depends on $GCJFLAGS.
> 
> I've just begun to write a sample GCJ application using autotools.
> I'm not sure about the status of multi-language support in autotools,
> but still should I work on with multi-language-branch of Libtool?
> 
> Regards,
> -- 
> Daiki Ueno
-- 
  ())_. Gary V. Vaughan     gary@(oranda.demon.co.uk|gnu.org)
  ( '/  Research Scientist  http://www.oranda.demon.co.uk       ,_())____
  / )=  GNU Hacker          http://www.gnu.org/software/libtool  \'      `&
`(_~)_  Tech' Author        http://sources.redhat.com/autobook   =`---d__/



reply via email to

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