Emerging fails with the following error. I dont know where this "dlltool" comes from, there doesn't seem to be an ebuild for this. >>> Install xmingw-w32api-3.2 into /tmp/portage/xmingw-w32api-3.2/image/ category dev-util for i in lib; do \ (cd $i; make install); \ done make[1]: Entering directory `/tmp/portage/xmingw-w32api-3.2/work/w32api-3.2/lib' dlltool --as=i386-mingw32msvc-as -k --output-lib libkernel32.a --def ./kernel32.def make[1]: dlltool: Command not found emerge --info Portage 2.1.2_pre1 (default-linux/amd64/2006.1, gcc-4.0.3/amd64-vanilla, glibc-2.4-r3, 2.6.17.13 x86_64) ================================================================= System uname: 2.6.17.13 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ Gentoo Base System version 1.12.5 Last Sync: Thu, 21 Sep 2006 07:20:01 +0000 ccache version 2.4 [disabled] app-admin/eselect-compiler: 2.0.0_rc1-r6 dev-java/java-config: 1.3.3, 2.0.29 dev-lang/python: 2.3.5, 2.4.3-r3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O3 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.svn/share/config /usr/kde/4.svn/share/config /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=k8 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://194.117.143.70/mirrors/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://194.117.143.71 http://ftp6.uni-erlangen.de/pub/mirrors/gentoo" LINGUAS="fr it" MAKEOPTS="-j 3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage-fh" SYNC="rsync://gentoo.freehackers.org/gentoo-portage" USE="amd64 X a52 aac arts berkdb bidi bitmap-fonts browserplugin bzip2 cairo cdda cdio cli crypt cups dga divx4linux dlloader dri dts dv dvb dvd dvdread edl elibc_glibc exif fbcon fbdev ffmpeg flac font-server fortran freetype gdbm gnutls gpm httpd imap innodb input_devices_keyboard input_devices_mouse ipv6 isdnlog java kernel_linux libg++ linguas_fr linguas_it live mad matroska mozilla mpeg ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis pam pcre perl perlsuid pic ppds pppd python readline reflection rtc sasl session speex spl sqlite3 ssl stream svg tcpd theora truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd video_cards_vesa video_cards_vga vlm vorbis wifi wxwindows xinerama xorg xv xvid xvmc zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
i've found it, it's there : /opt/xmingw/bin/i386-mingw32msvc-dlltool i dont know what's wrong in the dev-util/xmingw-w32api-3.2 ebuild..
package.masked pending removal. Use emerge crossdev && crossdev mingw32
How was I supposed to know about the masking ? it was not masked here, i changed nothing.. ? Did i miss something ? It still doesn't work btw : ... * Emerging cross-mingw-runtime-headers ... [ ok ] * Log: /var/log/portage/cross-mingw32-gcc-stage1.log * Emerging cross-gcc-stage1 ... [ ok ] * Emerging cross-w32api ... * w32api failed :( * If you file a bug, please attach the following logfiles: and in /var/log/portage/cross-mingw32-w32api.log ... gcc -c -O2 -g -I./../include -o uuid.o uuid.c gcc -c -O2 -g -I./../include -o mshtml-uuid.o mshtml-uuid.c gcc -c -O2 -g -I./../include -o msxml-uuid.o msxml-uuid.c mingw32-ar rc libuuid.a uuid.o mshtml-uuid.o msxml-uuid.o mingw32-ranlib libuuid.a gcc -c -O2 -g -I./../include -o scrnsave.o scrnsave.c In file included from ./../include/windef.h:246, from ./../include/windows.h:48, from scrnsave.c:10: ./../include/winnt.h:2000:2: error: #error "undefined processor type" In file included from ./../include/windef.h:246, from ./../include/windows.h:48, from scrnsave.c:10: ./../include/winnt.h:2002: error: syntax error before '*' token ./../include/winnt.h:2013: error: syntax error before 'PCONTEXT' In file included from ./../include/windows.h:50, from scrnsave.c:10: ./../include/winbase.h:1526: error: syntax error before 'LPCONTEXT'