Summary: | cross-mingw32/binutils contain Linux libbfd and libiberty instead of a Windows version | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dennis Schridde <dschridde+gentoobugs> |
Component: | [OLD] Development | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dennis Schridde
2008-04-20 22:42:07 UTC
You probably don't have clear what crossdev produces. What you have is a compiler for Linux (CHOST=linux) built on Linux (CBUILD=linux) for MinGW (CTARGET=mingw). So yeah it's expected that the libbfd in it would be the one that contains the Windows Binary formats (CTARGET) and is used in Linux (CHOST). To have a Windows DLL of libbfd you have to build it with CHOST _and_ CTARGET set to mingw32, which is not what crossdev does. This also affects libiberty, as I just recognized. -- after reading comments -- Why do I want a Linux libbfd for a Windows target? Is it needed internally by binutils programs like the assembler? So I guess I need to compile it myself? |