You are not logged in.

#1 2018-04-03 16:07:04

A Future Pilot
Member
Registered: 2008-10-17
Posts: 120

Using mingw-w64-gcc 6

Hello everyone,

I'm trying to use mingw gcc 6 because gcc 7 segfaults with my project (I've reported the bug upstream).

I'm currently getting the error

libmpfr.so.4: cannot open shared object file: No such file or directory

I've installed mingw-w64-libmpfr 3.1.5 (which I believe was the version in use when gcc 6 was current), but I'm still getting the error. Do any of you have any suggestions?

Please don't tell me that partial upgrades are unsupported. I know that, I just need a workaround to be able to push Windows builds until the bug in gcc 7 is fixed.

Thanks!

Offline

#2 2018-04-03 16:12:13

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: Using mingw-w64-gcc 6

As you said, partial updates *are* unsupported. The correct way of doing this is to build a gcc6 package separate from the other gcc package.

Offline

#3 2018-04-03 16:14:07

A Future Pilot
Member
Registered: 2008-10-17
Posts: 120

Re: Using mingw-w64-gcc 6

OK, could you give me some pointers on how to do that?

I have a little familiarity with creating PKGBUILDS, but I'm not even sure how to start with something like this.

Offline

#4 2018-04-03 16:16:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: Using mingw-w64-gcc 6

I would take a look at how the gcc6 PKGBUILD does it vs what the gcc PKGBUILD does, then adapt those changes to your mingw package. I've never dealt with mingw, so I'm of no direct help there.

Offline

Board footer

Powered by FluxBB