You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this way, the object can be compiled without those symbols defined, so that they can be linked in later.
The Makefile must also be changed to support this somehow, to pass the define through on CFLAGS, and also so that tests / pothe binaries built be the Makefile will either get linked with a version of dict.o with those symbols, or their own copies of the symbol definitions if the custom malloc is requested.
The text was updated successfully, but these errors were encountered:
Right now the source must by modified to use a custom malloc. From dict.c:
These functions cannot be changed after compilation, so we must edit dict.c to customize, adding CM complexity.
I propose the simple change:
In this way, the object can be compiled without those symbols defined, so that they can be linked in later.
The Makefile must also be changed to support this somehow, to pass the define through on CFLAGS, and also so that tests / pothe binaries built be the Makefile will either get linked with a version of dict.o with those symbols, or their own copies of the symbol definitions if the custom malloc is requested.
The text was updated successfully, but these errors were encountered: