Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Using C++ on LPC3128

2005-04-21 by Jaromir

Add compiler flag : -fno-rtti  to disable runtime type information, and in linker script add subsection

*(.gnu.linkonce*)   which is required in C++.

But when you use some global obiects ( as global variables ), you should also add subsection

*(SORT(.ctors)) and modify startup file to call all constructors ( before calling main() function).

Jaromir





_________________________________________________________________
List sprawdzony skanerem poczty mks_vir ( http://www.mks.com.pl )


[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.