Topic: XMALLOC - examples/tests etc question

Dear All,

I've created a user_settings.h file that defines XMALLOC_USER, and I run:-

./configure CFLAGS="-DWOLFSSL_USER_SETTINGS"

I was expecting the library to build such that it would want to call XMALLOC() etc which I would define in my application.

Unfortunately the 'make' phase aborts, because the examples and test suite obviously don't have this function.

If I run 'make src/libwolfssl.la' to build JUST the library, what's the correct procedure for then copying library and includes to the correct /usr/local locations?

Regards,
A.

Share

Re: XMALLOC - examples/tests etc question

Hi Andrew,

So sorry for the delay in getting back to you. If you do just "make src/libwolfssl.la" then to install you would want to use:

make install-binPROGRAMS                                                     
make install-nobase_includeHEADERS

Warmest Regards,

Kaleb

Re: XMALLOC - examples/tests etc question

I had since sussed that out from the makefile, but thanks anyway.
A.

Share