c++ libs in bsp_spec file?

Smith, Gene gene.smith at siemens.com
Thu Jan 6 16:17:21 UTC 2005


I am 99% sure that I configured my ppc405 based bsp with the flag 
--enable-cxx. However, when I linked my app containing several c++ 
modules I got undefined references to "operator delete[]" and other 
c++ish things. I noticed that my installed bap_specs file contained no 
"++" libraries listed. So I manually added -lstdc++ and -lrtems++ to the 
*lib: area of bsp_specs and it fixed the link errors. Should these ++ 
libraries appear automatically in bsp_specs when the project is 
configured with c++ or do these typically have to be manually included 
in bsp_specs file?

-gene



More information about the users mailing list