Hello, I saw that into the new 1.8.7 there is already the fix for the mingw cross compiler that does not export global structures into DLL. I do not know if you can find this helpful, but I also tried with another cross compiler than the one packaged into debian distributions and it worked perfectly. I used this one:
http://www.libsdl.org/extras/win32/cross/mingw32-linux-x86-glibc-2.5.tar.gz Instructions here (other stuff is also available at this URL): http://www.libsdl.org/extras/win32/cross/README.txt Although it seems to work as is (and infact, in my first test I used it as it was), I suggest to update the core, include files and libraries to the latest level available at mingw's site. After doing a little fix because an error at configure (it could not run target executables), I compiled and installed guile successfully. The executable also runs fine in windows and the windows loader does not stop because unresolved dynamic links. I also inspected the content of libguile-17.dll with pexports.exe (it's a tool into a mingw package) and I could verify that the required structures are exported without the patch added into the new version. Sincerely, Carlo Bramini. ---------- Initial Header ----------- >From : guile-devel-bounces+carlo.bramix=libero...@gnu.org To : guile-devel@gnu.org Cc : guile-u...@gnu.org Date : Sun, 05 Jul 2009 23:06:44 +0200 Subject : GNU Guile 1.8.7 released > We are pleased to announce GNU Guile release 1.8.7. This is the next > maintenance release for the 1.8 stable series. It provides a number of > portability improvements, bug fixes, as well as several new features. > > The Guile web page is located at http://gnu.org/software/guile/, and > among other things, it contains a link to the Guile FAQ and pointers to > the mailing lists. > > Guile is an interpreter for the Scheme programming language, with > support for many SRFIs, packaged for use in a wide variety of > environments. In addition to implementing the R5RS Scheme standard, > Guile includes a module system, full access to POSIX system calls, > networking support, multiple threads, dynamic linking, a foreign > function call interface, and powerful string processing. > > Guile can run interactively or as a script interpreter, and is also > packaged as a library so that applications can easily incorporate a > complete Scheme interpreter. An application can use Guile as an > extension language, a clean and powerful configuration language, or as > multi-purpose "glue" to connect primitives provided by the application. > It is easy to call Scheme code from C code and vice versa. Applications > can add new functions, data types, control structures, and even syntax > to Guile, to create a domain-specific language tailored to the task at > hand. > > > Here are the compressed sources: > ftp://ftp.gnu.org/gnu/guile/guile-1.8.7.tar.gz (3.9MB) > > Here are the GPG detached signatures[*]: > ftp://ftp.gnu.org/gnu/guile/guile-1.8.7.tar.gz.sig > > Here are the MD5 and SHA1 checksums: > > 991b5b3efcbbc3f7507d05bc42f80a5e guile-1.8.7.tar.gz > 24cd2f06439c76d41d982a7384fe8a0fe5313b54 guile-1.8.7.tar.gz > > [*] You can use either of the above signature files to verify that > the corresponding file (without the .sig suffix) is intact. First, > be sure to download both the .sig file and the corresponding tarball. > Then, run a command like this: > > gpg --verify guile-1.8.7.tar.gz.sig > > If that command fails because you don't have the required public key, > then run this command to import it: > > gpg --keyserver keys.gnupg.net --recv-keys EA52ECF4 > > and rerun the `gpg --verify' command. > > This release was bootstrapped with the following tools: > Autoconf 2.63 > Automake 1.11 > Libtool 2.2.6 > > > This is primarily a bugfix release. Here are the highlights, taken from > the `NEWS' file: > > * Bugs fixed > > ** Fix compilation with `--disable-deprecated' > ** Fix %fast-slot-ref/set!, to avoid possible segmentation fault > ** Fix MinGW build problem caused by HAVE_STRUCT_TIMESPEC confusion > ** Fix build problem when scm_t_timespec is different from struct timespec > ** Fix build when compiled with -Wundef -Werror > ** More build fixes for `alphaev56-dec-osf5.1b' (Tru64) > ** Build fixes for `powerpc-ibm-aix5.3.0.0' (AIX 5.3) > ** With GCC, always compile with `-mieee' on `alpha*' and `sh*' > ** Better diagnose broken `(strftime "%z" ...)' in `time.test' (bug #24130) > ** Fix parsing of SRFI-88/postfix keywords longer than 128 characters > ** Fix reading of complex numbers where both parts are inexact decimals > ** Allow @ macro to work with (ice-9 syncase) > ** Have `scm_take_locale_symbol ()' return an interned symbol (bug #25865) > ** Fix potential deadlocks when running on multiple threads > ** Fix problems building with the i586-mingw32msvc cross-compiler > > > Any bugs found in this release will be addressed by further bugfix > releases numbered 1.8.*. > > You can follow Guile development in the Git repository and on the Guile > mailing lists. Guile builds from the `master' branch of Git have > version number 1.9.x and will eventually lead to the 2.0 stable series. > > Guile versions with an odd middle number, e.g., 1.9.*, are unstable > development versions. Even middle numbers indicate stable versions. > This has been the case since the 1.3.* series. > > Please report bugs through the Savannah bug tracker: > > https://savannah.gnu.org/bugs/?group=guile > > Alternatively, bug reports can be sent to `bug-gu...@gnu.org'. We also > welcome reports of successful builds, which can be sent to the same > email address. > > > Ludovic Courtès, on behalf of the Guile team. >