This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: [patch] Only build personality routine for SymbianOS.


Benjamin Kosnik wrote:
>>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.
> 
> 
> Please hang on with this, at least till tomorrow.

Benjamin, have you had a chance to look at this?

If you need more explanation of why this makes sense on SymbianOS, the
key point is that the ARM EABI allows folks to use an alternative C++
runtime library -- but we still need the G++ personality routine.  If
you thought of libstdc++ as consisting of three things: (1) EH
personality routines, (2) libsupc++, and (3) STL, I/O, etc., then the
system library provides (2) and (3).  We just need (1).

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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