Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Nov 2020 09:45:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 237213] [NEW PORT] devel/mingw-w64 cross compilers
Message-ID:  <bug-237213-7788-6SzSOSKhDq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237213-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237213-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237213

--- Comment #12 from Damjan Jovanovic <damjan.jov@gmail.com> ---
Created attachment 219875
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D219875&action=
=3Dedit
partial port of i686 mingw-w64

So that Debian emulated mingw-w64 crashes a lot and I got sick of it.

Here is a partial port from NetBSD's pkg-src's mingw-w64
(https://github.com/NetBSD/pkgsrc/tree/trunk/cross/mingw-w64) to our ports.=
 So
far binutils, headers, gcc-bootstrap and crt successfully build. Unfortunat=
ely,
the last and most important piece, the full gcc build, fails with:

ld: error: unable to find library -lc

while building libgcc, and I have no idea why. If anyone can help, it would=
 be
much appreciated.

Apply patch.
cd /usr/ports/devel/i686-w64-mingw32-gcc
make stage

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237213-7788-6SzSOSKhDq>