Global Constructor Not Called
Asked by
Xavier Hosxe
Hello,
I'm using GCC ARM Embedded 4.6-2012-q2 with the FEZ cerb40 board (STM32F405RG).
Those cortex-m4 chips are really fantastic.
Thanks a lot for working on this compiler...
Everything works fine...
Almost everything.
I'm currently blocked with a problem.
I don't have my C++ global constructor called.
If the object instantiation is done inside the main() function It's OK.
But if put it outside... the constructor is not called.
Do i miss something in the startup assembly code ?
Any URL that would explain that ?
Thanks for your help,
Xavier
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Xavier Hosxe
- Solved:
- Last query:
- Last reply:
To post a message you must log in.