[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gcj libtool patches so far
From: |
Albert Chin |
Subject: |
Re: gcj libtool patches so far |
Date: |
Sat, 16 Mar 2002 18:00:32 -0600 |
User-agent: |
Mutt/1.2.5i |
On Fri, Mar 15, 2002 at 09:39:22PM -0800, Per Bothner wrote:
> Albert Chin wrote:
> >>2002-03-11 Anthony Green <address@hidden>
> >>
> >> * libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Albert Chin's gcj fix.
> >> (AC_LIBTOOL_PROG_COMPILER_PIC): Per Bothner's change for not
> >> using -DPIC with gcj.
> >
> >
> > Ugh. I dislike Per's patch. Ideally, we should keep tag-specific
> > information outside of the macros. What's being done is a kludge.
>
> I didn't claim it was anything but a kludge, as I wrote Match 1.
>
> My -DPIC change is of course a kludge. Better would be to have some
> langage-specific variable similar to ac_compile, such as
> ac_lang_pic_flag.
>
> However, I don't know enough about libtool workings to be comfortable
> implementing the correct solution.
Why don't we remove -DPIC totally? Libtool shouldn't "automatically"
be adding it. If a compiler/os combination needs it, it should be
added to $lt_prog_compiler_pic explicitly.
--
albert chin (address@hidden)