Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 611080

Summary: crossdev mingw-w64 absolutely refuses to cooperate, when following the wiki to the T.
Product: Gentoo Linux Reporter: hanetzer
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description hanetzer 2017-02-27 10:10:43 UTC
As summary.

I've tried both i686 and x86_64 mingw-w64, and using the winnt profile (and subdirs) as make.profile in /usr/$sysroot/etc/portage, and copying the embedded profile and modifying it as the wiki suggests.

Reproducible: Always

Steps to Reproduce:
1. emerge crossdev
2. Various instructions followed exactly from the wiki
3. crossdev -t {i686,x86_64}-w64-mingw32
4a. ln -s /usr/portage/profiles/prefix/windows/winnt /usr/$ARCH-w64-ming32/etc/portage/make.profile
5a. emerge sys-libs/zlib

4b. copy the embedded profile, remove ARCH, ELIBC, KERNEL from PROFILE_ONLY
5b. set said variables in profile/make.profile
6b. emerge zlib

Actual Results:  
a. ARCH is not set/make.profile symlink complaints
b. make -f win32/Makefile.gcc no such file when it does exist


Expected Results:  
Compiled and installed zlib to my prefix