Forum Discussion
Altera_Forum
Honored Contributor
21 years agoC++ global constructors not being called
We are using version 1.0.0 build 393 of the Nios II IDE and bringing up an application under uClinux. The problem du jour is that it appears the constructors for globally defined C++ objects are not...
Altera_Forum
Honored Contributor
21 years agoHi halfdone,
> The .ctor (and .dtor for global destructors) do not show up in ELF object post-link Hmmm ... these are _normally_ wrapped in a KEEP and show up regardless. Better check your default linker script. Regards, --Scott