why are libiberty libraries removed?

Asked by Pitchumani Sivanupandi

From build script:
> pushd $INSTALLDIR_NATIVE
> rm -rf bin/arm-none-eabi-gccbug
> LIBIBERTY_LIBRARIES=`find $INSTALLDIR_NATIVE/arm-none-eabi/lib -name libiberty.a`
> for libiberty_lib in $LIBIBERTY_LIBRARIES ; do
> rm -rf $libiberty_lib
> done
> rm -rf ./lib/libiberty.a
> rmdir include
> popd

libiberty.a files and include folder are removed from the installation. What is the reason for removing them?

Question information

Language:
English Edit question
Status:
Solved
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Solved by:
Pitchumani Sivanupandi
Solved:
Last query:
Last reply:
Revision history for this message
chengbin (can-finner) said :
#1

> LIBIBERTY_LIBRARIES=`find $INSTALLDIR_NATIVE/arm-none-eabi/lib -name libiberty.a`
> for libiberty_lib in $LIBIBERTY_LIBRARIES ; do
> rm -rf $libiberty_lib
> done

I don't think this version libiberty.a would ever be generated. So yes, the commands are redundant if I am right.

> rm -rf ./lib/libiberty.a
This is the version for x86, and has nothing to do with our release, so we just delete it.

Thanks.

Revision history for this message
Pitchumani Sivanupandi (pitchumani-s) said :
#2

ok