Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340989 - sys-devel/crossdev: support mingw C libraries
Summary: sys-devel/crossdev: support mingw C libraries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-14 14:51 UTC by Dennis Schridde
Modified: 2014-10-31 01:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2010-10-14 14:51:26 UTC
Following snippet is from emerge-wrapper as shipped in sys-devel/crossdev-20101011:
    LIBC="__LIBC__"
    case ${CHOST} in
        *gnu*)    LIBC=glibc ;;
        *uclibc*) LIBC=uclibc ;;
        *)        emit_setup_warning ;;
    esac

It does not recognize *mingw* as valid CHOST, thus generates a warning and  __CHOST__ and __LIBC__ as values to CHOST and ELIBC in /usr/$chost/etc/make.conf.
This should probably fixed to something like:
    case ${CHOST} in
        *gnu*)    LIBC=glibc ;;
        *uclibc*) LIBC=uclibc ;;
        *mingw*)  LIBC=mingwrt ;;
        *)        emit_setup_warning ;;
    esac

(I have not thoroughly tested what impact the wrong ELIBC/CHOST setting in make.conf has.)

Reproducible: Always
Comment 1 solar (RETIRED) gentoo-dev 2010-10-16 10:49:06 UTC
Please test this setting as we are not likely to.