We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
At moment clib4 use the same mechanism of clib2 to initialize the internal structures and libraries.
For example memory allocator has its own constructor (and destructor) to initialize all it needs to work correctly.
The constructors (and destructors) are executed inside _main function when exe file is loaded.
However if try to compile a program that has no main() function but for example _start() the constructors are not called and so the program crash.
We need to replace the constructors and destructors and move everything inside libOpen/libClose (or any suitable place).
The text was updated successfully, but these errors were encountered:
No branches or pull requests
At moment clib4 use the same mechanism of clib2 to initialize the internal structures and libraries.
For example memory allocator has its own constructor (and destructor) to initialize all it needs to work correctly.
The constructors (and destructors) are executed inside _main function when exe file is loaded.
However if try to compile a program that has no main() function but for example _start() the constructors are not called and so the program crash.
We need to replace the constructors and destructors and move everything inside libOpen/libClose (or any suitable place).
The text was updated successfully, but these errors were encountered: