Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=513819
--- Comment #11 from Paolo Bonzini pbonzini@redhat.com 2009-07-27 02:58:45 EDT --- Wait wait, we're talking about two different things. I'm not talking about packaging GNU Smalltalk for Fedora. I'm talking about developing Windows programs on Linux using MinGW and Wine, and the problems I had with it *while trying it out on GNU Smalltalk*.
(Don't be confused by my @redhat.com; this is not something I'm doing for my job).
I'm guessing this is a bootstrapping problem - ie. the Smalltalk compiler/runtime is written in Smalltalk, so must be compiled using Smalltalk.
Yes, it runs the VM executable to compile the runtime. It would be possible to do as said in comment #9 (the output file is the same for i686-linux and i686-mingw32,some files are even the same for all architectures), or just to BuildRequire the native package and copy bits from its /usr/share and /var/lib into the target package.
But let's not get distracted from the main issue, which is about interactions between wine (which makes the i686-pc-mingw32 not really a cross compiler anymore) and the cross compilation environment. Wine and a cross-compiler will not really be installed together by Koji, but they definitely will be together on a Fedora user's machine (such as me).