I haven't found any articles on customizing the build of the default libraries. Default dlmalloc behavior is to abort on allocation failure and align allocations to 8 bytes. That's not a good default strategy in general for any application. How do you rebuild the libraries with the defines to modify this behavior? These are the dlmalloc defines that I'd like to alter.
#define MALLOC_ALIGNMENT ((size_t)16U) #define ABORT abort() #define MALLOC_FAILURE_ACTION errno = ENOMEM; #define ABORT_ON_ASSERT_FAILURE 0 What/where are the build settings for libcxx and others? Are these all -O3, or can you build -O1/2/3 versions of all of these and link them to appropriate builds? -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
