[patch] Only build personality routine for SymbianOS.

Paul Brook paul@codesourcery.com
Wed Jan 18 17:13:00 GMT 2006


The attached patch merged the following change from csl-arm-branch.
http://gcc.gnu.org/ml/gcc-patches/2005-03/msg00978.html

Arm SymbianOS provides it own C++ runtime library. 
On most targets the PR is tied to a specific c++ library implementation.
However because of the way Arm exception handling works it's tied to a 
particular compiler, but nbot C++ library specific.
We need to build and supply the g++ unwinding personality routine, but not the 
rest of libsupc++.

The attached patch adds logic to build just this bit of libsupc++.

Tested on arm-none-eabi and arm-none-symbianelf.
Ok?

2006-01-18  Paul Brook  <paul@codesourcery.com>

	Merge from csl-arm-branch
	2005-03-10  Julian Brown  <julian@codesourcery.com>
	* configure.ac (LIBSUPCXX_PRONLY): New AM_CONDITIONAL: yes if we are
	compiling for SymbianOS on ARM.
	* include/Makefile.am: Don't install C++ headers if LIBSUPCXX_PRONLY
	is true.
	* libsupc++/Makefile.am: Include only eh_personality.cc in libsupc++
	if LIBSUPCXX_PRONLY is true.
	* Makefile.in: Regenerate.
	* configure: Regenerate.
	* include/Makefile.in: Regenerate.
	* libmath/Makefile.in: Regenerate.
	* libsupc++/Makefile.in: Regenerate.
	* po/Makefile.in: Regenerate.
	* src/Makefile.in: Regenerate.
	* testsuite/Makefile.in: Regenerate.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.symbian_pr
Type: text/x-diff
Size: 2371 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20060118/4246f03f/attachment.bin>


More information about the Libstdc++ mailing list