Score:0

install expat for mingw under ubuntu

cn flag

I'm using mingw under ubuntu to create windows executables. I need to use expat. It's not included in the repo, so I gather that I need to install it from sources. Is there an easy way to do this?

N0rbert avatar
zw flag
What is expat? What is your Ubuntu version? How mingw was installed?
cn flag
expat is a well-known library for parsing XML. The Ubuntu version doesn't actually seem to matter, because the mingw distribution in 18.04, 19.04, 20.04 and 21.04 all seem quite similar. But point taken.
Score:0
cn flag

Okay, this was pretty easy:

$ ./configure --host=i686-w64-mingw32 --prefix=/usr/i686-w64-mingw32/
$ make
$ sudo make install
N0rbert avatar
zw flag
Please make both question and answer reproducible. Where do you run `./configure` and so on. Which Ubuntu version and packages were used.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.