Package Details: mingw-w64-gcc 8.2.0-2

Git Clone URL: https://aur.archlinux.org/mingw-w64-gcc.git (read-only)
Package Base: mingw-w64-gcc
Description: Cross GCC for the MinGW-w64 cross-compiler
Upstream URL: http://gcc.gnu.org
Licenses: GPL, custom, LGPL, FDL
Groups: mingw-w64, mingw-w64-toolchain
Provides: mingw-w64-gcc-base
Submitter: Barthalion
Maintainer: xantares
Last Packager: xantares
Votes: 30
Popularity: 2.369077
First Submitted: 2018-01-07 17:33
Last Updated: 2018-12-03 20:20

Required by (190)

Sources (4)

Pinned Comments

xantares commented on 2018-03-07 17:54

To install this package from source I recommend to use:

aurman -S --noedit --solution_way --pgp_fetch mingw-w64-gcc

For a binary install I recommend to use Martchus ownstuff repo:

https://wiki.archlinux.org/index.php/unofficial_user_repositories#ownstuff

Latest Comments

1 2 3 4 5 Next › Last »

pingplug commented on 2018-12-03 13:29

please add this patch to fix a gcc bug that breaks mingw-w64-rust build: https://gcc.gnu.org/ml/gcc-patches/2018-08/msg00559.html

Martchus commented on 2018-11-15 18:58

@rubenvb This might still require patching for Windows (see https://aur.archlinux.org/packages/mingw-w64-gcc-fs).

rubenvb commented on 2018-11-15 18:44

Can someone add the "--enable-libstdcxx-filesystem-ts=yes" flag to configure?

lukemontalvo commented on 2018-11-01 18:54

@CodingKoopa I was having the same issue, it seems to be that this package depends on mingw-w64-winpthreads which depends on mingw-w64-gcc-base but this package isn't being detected as providing it for some reason? Then mingw-w64-gcc-base depends on mingw-w64-headers-bootstrap which conflicts with mingw-w64-winpthreads.

I worked around it by installing mingw-w64-gcc-base and its dependencies first, then attempted to install mingw-w64-gcc. When pikaur failed but before it exited, I uninstalled mingw-w64-gcc-base and proceeded. A bit of a messy workaround but it worked!

luntik2012 commented on 2018-08-15 09:41

@dfjigdfijgojio

gpg --recv-key 93BDB53CD4EBC740

luntik2012 commented on 2018-08-15 09:40

ftp.gnu.org is down

dfjigdfijgojio commented on 2018-08-12 05:37

Error : unknown public key 93BDB53CD4EBC740

==> Downloading mingw-w64-icu PKGBUILD from AUR...
x .SRCINFO
x .gitignore
x 0004-move-to-bin.mingw.patch
x 0007-actually-move-to-bin.mingw.patch
x 0008-data-install-dir.mingw.patch
x 0009-fix-bindir-in-config.mingw.patch
x 0010-msys-rules-for-makefiles.mingw.patch
x 0011-sbin-dir.mingw.patch
x 0012-libprefix.mingw.patch
x 0014-mingwize-pkgdata.mingw.patch
x 0015-debug.mingw.patch
x 0016-icu-pkgconfig.patch
x 0017-icu-config-versioning.patch
x PKGBUILD
Schala commented on 2016-04-27 22:31             
I used GCC, not Clang. Try GCC

hzy199411 commented on 2016-05-01 12:32          
@osfans, Try this patch to force build with gcc:
--- PKGBUILD.OLD        2016-04-18 04:20:25.000000000 +0800
+++ PKGBUILD    2016-05-01 10:25:37.276995304 +0800
@@ -60,12 +60,12 @@
cd icu/source
mkdir -p nativebuild  pushd nativebuild
CFLAGS=-fno-stack-protector
-  ../configure --enable-static --disable-shared
+  CC=gcc CXX=g++ ../configure --enable-static --disable-shared
make
popd
for _arch in ${_architectures}; do
mkdir build-${_arch}  pushd build-${_arch}
-    ${_arch}-configure \
+    CC=${_arch}-gcc CXX=${_arch}-g++ ${_arch}-configure \
--with-cross-build=$PWD/../nativebuild \
--with-data-packaging=library \
--disable-rpath \

pingplug commented on 2018-02-08 09:29           

Martchus commented on 2018-02-14 18:09           

xantares commented on 2018-02-17 14:48           

mingw-w64-icu 57.1-2  (2018-02-19 08:25)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> mingw-w64-icu dependencies:
 - mingw-w64-crt (building from AUR)
 - mingw-w64-configure (building from AUR) [makedepend]


==> Continue building mingw-w64-icu ? [Y/n]
==> ---------------------------------------
==> y

==> Building and installing package
==> Install or build missing dependencies for mingw-w64-icu:

==> Downloading mingw-w64-configure PKGBUILD from AUR...
x .SRCINFO
x PKGBUILD
x mingw-configure.sh
xantares commented on 2014-11-10 10:39           
ok, thanks!

xantares commented on 2014-11-12 15:58           
I think it's not required anymore:

$ i686-w64-mingw32-gcc -Q --help=target|grep mms
-mms-bitfields                        [enabled]

I'll remove it.

xan.

Schala commented on 2014-11-13 07:44             
I see. I'll be getting to my packages hopefully this weekend or next week.

sarum9in commented on 2015-09-04 18:45           
Hi, why script calls "../configure" instead of "./configure"? Thanks.

xantares commented on 2015-09-05 10:49           
hi @sarum9in,

It supposes you build in a subdirectory of the sources.

I added an optional last argument which is the dir containing the configure file:
https://aur.archlinux.org/cgit/aur.git/commit/?h=mingw-w64-configureid=ba97829aad400afa7c197a74dbcdb92b8778c8fb
So you can do ${_arch}-configure [FLAGS] config_path

xan.

mingw-w64-configure 0.1.1-2  (2018-05-03 19:34)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> mingw-w64-configure dependencies:
 - mingw-w64-gcc (building from AUR)
 - mingw-w64-pkg-config (building from AUR)


==> Continue building mingw-w64-configure ? [Y/n]
==> ---------------------------------------------
==> y

==> Building and installing package
==> Install or build missing dependencies for mingw-w64-configure:

==> Downloading mingw-w64-gcc PKGBUILD from AUR...
x .SRCINFO
x PKGBUILD
mozo commented on 2018-05-28 13:19           

xantares commented on 2018-05-29 16:43           

gambi commented on 2018-06-28 14:02          

Morganamilo commented on 2018-06-30 00:45            

CodingKoopa commented on 2018-07-01 21:55            

mingw-w64-gcc 8.2.0-1  (2018-07-26 17:53)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> mingw-w64-gcc dependencies:
 - zlib (already installed)
 - libmpc (already installed)
 - mingw-w64-binutils (already installed)
 - gcc-ada (already installed) [makedepend]
 - mingw-w64-crt (building from AUR)
 - mingw-w64-winpthreads (building from AUR)
 - mingw-w64-headers (building from AUR)


==> Continue building mingw-w64-gcc ? [Y/n]
==> ---------------------------------------
==> y

==> Building and installing package
==> Install or build missing dependencies for mingw-w64-gcc:

==> Downloading mingw-w64-crt PKGBUILD from AUR...
x .SRCINFO
x PKGBUILD
City-busz commented on 2018-01-07 21:14          

Martchus commented on 2018-05-27 14:02           

xantares commented on 2018-05-27 20:11           

Martchus commented on 2018-05-27 20:42           

bitwave commented on 2018-06-03 18:43            

mingw-w64-crt 5.0.4-1  (2018-06-30 10:49)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> mingw-w64-crt dependencies:
 - mingw-w64-binutils (already installed) [makedepend]
 - mingw-w64-gcc-base (building from AUR) [makedepend]
 - mingw-w64-headers (building from AUR) [makedepend]


==> Continue building mingw-w64-crt ? [Y/n]
==> ---------------------------------------
==> y

==> Building and installing package
==> Install or build missing dependencies for mingw-w64-crt:

==> Downloading mingw-w64-gcc-base PKGBUILD from AUR...
x .SRCINFO
x PKGBUILD
QuartzDragon commented on 2018-04-02 14:37           

kingcreole commented on 2018-07-31 09:46             

xantares commented on 2018-07-31 17:12           

xiretza commented on 2018-07-31 18:50            

xantares commented on 2018-08-01 06:59           

mingw-w64-gcc-base 8.2.0-1  (2018-08-01 18:54)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> mingw-w64-gcc-base dependencies:
 - zlib (already installed)
 - libmpc (already installed)
 - ppl (already installed)
 - cloog (already installed)
 - mingw-w64-binutils (already installed)
 - mingw-w64-headers (building from AUR)
 - mingw-w64-headers-bootstrap (building from AUR)


==> Continue building mingw-w64-gcc-base ? [Y/n]
==> --------------------------------------------
==> y

==> Building and installing package
==> Install or build missing dependencies for mingw-w64-gcc-base:

==> Downloading mingw-w64-headers PKGBUILD from AUR...
x .SRCINFO
x 0001-intrin-impl.h-do-not-define-_xgetbv-for-GCC-8.patch
x PKGBUILD
Martchus commented on 2018-05-27 13:59           

dfjigdfijgojio commented on 2018-05-30 01:50             

alexandria commented on 2018-06-27 17:17             

alexandria commented on 2018-06-27 18:40             

xantares commented on 2018-06-27 18:52           

mingw-w64-headers 5.0.4-2  (2018-06-30 10:49)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> mingw-w64-headers dependencies:


==> Continue building mingw-w64-headers ? [Y/n]
==> -------------------------------------------
==> y

==> Building and installing package
==> Making package: mingw-w64-headers 5.0.4-2 (Sun 12 Aug 2018 10:04:33 AM +0430)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading mingw-w64-v5.0.4.tar.bz2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 15787  100 15787    0     0   2218      0  0:00:07  0:00:07 --:--:--  4381
100   475  100   475    0     0     63      0  0:00:07  0:00:07 --:--:--    63
100   389  100   389    0     0     26      0  0:00:14  0:00:14 --:--:--    87
100 8948k  100 8948k    0     0   308k      0  0:00:28  0:00:28 --:--:-- 1241k
  -> Downloading mingw-w64-v5.0.4.tar.bz2.sig...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 15795  100 15795    0     0   2246      0  0:00:07  0:00:07 --:--:--  4488
100 15871  100 15871    0     0   2149      0  0:00:07  0:00:07 --:--:--  2149
100   397  100   397    0     0     27      0  0:00:14  0:00:14 --:--:--    87
100   148  100   148    0     0      7      0  0:00:21  0:00:20  0:00:01    37
==> Validating source files with sha256sums...
    mingw-w64-v5.0.4.tar.bz2 ... Passed
    mingw-w64-v5.0.4.tar.bz2.sig ... Skipped
==> Verifying source file signatures with gpg...
    mingw-w64-v5.0.4.tar.bz2 ... FAILED (unknown public key 93BDB53CD4EBC740)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build mingw-w64-headers.
==> Restart building mingw-w64-headers ? [y/N]
==> ------------------------------------------

CodingKoopa commented on 2018-07-01 21:55

I get "New packages 'mingw-w64-winpthreads' and 'mingw-w64-headers-bootstrap' are in conflict." when building this package with pikaur.

Morganamilo commented on 2018-06-30 00:45

@xantares Yes makepkg --printsrcinfo does put the pgp keys in the srcinfo. Look like you're still using the ancient mksrcinfo tool.

gambi commented on 2018-06-28 14:02

Could maintainer update existing version as it has bug and filesystem can't be properly compiled with it. Here are details: https://sourceforge.net/p/mingw-w64/bugs/737/