This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Less kludgy way to fix PR/17369, take 2 (a month after...)


On Mar 29, 2005, Paolo Bonzini <paolo.bonzini@lu.unisi.ch> wrote:

> +target_modules = { module= libstdc++-v3; lib_path=.libs; raw_cxx=true; };
> +target_modules = { module= libmudflap; lib_path=.libs; };

I don't like explicit references to .libs.  It's an internal
implementation detail of libtool, subject to change.  In fact, if the
filesystem in use doesn't support directories named .libs, libtool
will use _libs.  Could you try to find a better way to do this,
without explicitly referencing .libs, for example, use
dir/libtool --config | sed -n 's,^objdir=,,p' ?  I won't block the
patch on this, because the references to .libs were there before.

Other than that, the patch looks reasonable, but I can't say I fully
understand the reasoning behind the existing implementation.  If an
uberbaum --enable-shared build works, I say go ahead and check it in.

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]