[go: up one dir, main page]

Menu

#65 CUNIT 2.1-3 : Build sytem (static and dynamic library as release and debug version for mingw32 via msys)

v1.0_(example)
open
nobody
None
1
2018-04-08
2015-06-15
No

inside msys (on Windows XP and same on Windows 8.1) in the CUNIT directory I started

./bootstrap /mingw 

which generates and runs the configure script.
Now I could use

make 
make install

Yes I could generate the static library this way.

But now I tried to generate the dynamic link library via configure + make +make install,
but it seams to me, that the configure option --enable-shared is ignored. I got no error message, but a DLL I didn't get eighter.
For generating a DLL, I had to download jam.exe (ftjam) and must call

export MINGW=gcc
export JAM_TOOLSET=MINGW
jam.exe -f Jambase libcunit  

How I can target debug and release version here?

Yes, it is very nice that You support two diffrend build-systems (configure + make AND jam).

I would prefer to build with one build system the cunit library as static and dynamic library in release and debug mode, say

dynamic debug version:   libcunitd_2.1-3.dll 
dynamic release version: libcunit_2.1-3.dll 

static debug version:    libcunitd_2.1-3.a 
static release version:  libcunit_2.1-3.a 

Best regards,
Robert

Discussion

Anonymous
Anonymous

Add attachments
Cancel