This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

RE: PPC-compilerproblem


>-----Original Message-----
>From: lars Roehlike [mailto:larsroe@gmx.de]
>Sent: 16 March 2001 10:13

>iīm trying to crosscompile some c and c++ sources for an
>embedded powerpc- system at the moment.
>unfortunately i get 3 undefines.
>
>__check_eh_spec
>__start_cp_handler
>__eh_alloc
>
>i donīt have any idea about the reasons :(

  These routines are related to the handling of c++ exceptions.  They
should be found in libgcc.a.  If you use gcc to do the linking like this:

  gcc -o outputname file1.o file2.o ... fileN.o

then it should automatically link in libgcc; however if you are invoking
the linker directly, you should add '-lgcc' to the end of the command
line.

  If you are using gcc to do the final link, and it isn't linking libgcc
for some reason, add '-v' to the compiler flags, and show us the output.


      DaveK
-- 
 All your base are belong to us!


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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