This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
How to compile a glibc without c++ exception handling?
- From: Ichiro Barnes <glibcnoobie at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 26 Jun 2003 09:45:39 -0700 (PDT)
- Subject: How to compile a glibc without c++ exception handling?
Greetings,
I am building a i386 linux/arm linux cross compilation
environment, but my dynamically linked executables
fail to run on the target due to undefined symbols
such as 'register_frame_info'.
I understand that the cause of this is that the glibc
I built is inserting references to c++ exception
handling routines in my c code, but that the glibc
running on my target wasn't built with those symbols
defined.
Now for what is no doubt a blazingly newbie question:
how can I build a glibc that doesn't insert those
references?
I am building glibc 2.3 using gcc 3.2.2. I did see
this topic addressed in the glibc FAQ, but didn't see
any advice for the version I'm working with. To set up
my cross compilation environment, I followed the
instructions in
http://www.ailis.de/~k/knowledge/crosscompiling/
Thank you in advance for your advice.
-I.
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com