On Wed, 25 May 2011, Jing Yu wrote:

> I am wondering how to disable build of libiberty for target? I

Tear out all the target-libiberty code unconditionally?  See 
<http://gcc.gnu.org/ml/gcc-patches/2011-05/msg01308.html> and references 
therein; building target libiberty at all is a bug in my view.

> In some environment we still need to build libstdc++ libraries, where
> libiberty has to be built for target. Can we use #ifndef __ANDROID__
> to wrap around the getpagesize() definition? It is working for us.

See what I said in 
<http://gcc.gnu.org/ml/gcc-patches/2011-05/msg01311.html>.  libstdc++-v3 
does not use target libiberty; it uses one source file from the libiberty 
directory.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to