[Bug 237213] [NEW PORT] devel/mingw-w64 cross compilers

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Nov 22 09:45:36 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237213

--- Comment #12 from Damjan Jovanovic <damjan.jov at gmail.com> ---
Created attachment 219875
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=219875&action=edit
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. Unfortunately,
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

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


More information about the freebsd-ports-bugs mailing list