I am writing a C program on Windows using MingW and want to use the EXPAT XML library. I want my program to be static, so I need a static .a library.
Is there a way to compile EXPAT for a .a static, independent library on Windows?
If you download official releases from the Expat Sourceforge project page , you will not be able to compile and install the library using MSYS or MinGW. To configure, create and install you will need to install CygWin.
MinGW configure script libtool. expa tarball, MinGW expat.
configure
libtool
, . ?
expat MinGW:
mingw-get update
mingw-get install expat
mingw-get install libexpat
<your mingw>/bin
libexpat-1.dll
<your mingw>/lib
libexpat.a
libexpat.dll.a
libexpat.la
Package Overview:
Source: https://habr.com/ru/post/1751976/More articles:How to get selected text code in contentEditable div in IE? - javascriptEnabling autocomplete bash using setuptools - pythonHow do make m2eclipse (Maven) point to the path "persistence.xml"? - maven-2Sql selects null and nonzero values in a WHERE clause - sqlHow to get entries on pages in Android - androidDoes this violate the longest principle? - regexGet the highest id - jqueryREST: post vs posts & new vs create - restHow to programmatically get Windows search history? - c ++Клавиша массива как строка и номер - arraysAll Articles