guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Guile 3.0.10 Cross Compile


From: Emad Alblueshi
Subject: Guile 3.0.10 Cross Compile
Date: Wed, 4 Sep 2024 21:36:26 +0300

Hello Everyone,

I'm trying to cross compile guile 3.0.10 on Fedora 40, Probably I need some
guidance in order to achieve this. In addition, the following required
dependencies are successfully cross compiled via mingw64-* commands:

libatomic_ops-7.8.2
gc-8.2.4
libunistring-1.2

I'm using mingw64-configure and mingw64-make for the build process as shown
below:

mingw64-configure --prefix=/home/someone/windows-builds --enable-static
--enable-mini-gmp --disable-rpath --disable-deprecated

The above command works as expected, however when I run mingw64-make I got
the following error message:

make -C libguile scmconfig.h
make[1]: Entering directory '/home/someone/Downloads/guile-3.0.10/libguile'
  GEN      gen-scmconfig.o
In file included from ../libguile/inline.h:28,
                 from ../libguile/gc.h:25,
                 from ./strings.h:25,
                 from /usr/include/string.h:462,
                 from gen-scmconfig.c:142:
../libguile/scm.h:30:10: fatal error: libguile/scmconfig.h: No such file or
directory
   30 | #include "libguile/scmconfig.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:4478: gen-scmconfig.o] Error 1
make[1]: Leaving directory '/home/someone/Downloads/guile-3.0.10/libguile'
make: *** [Makefile:2615: libguile/scmconfig.h] Error 2

The above error message appears only for the cross compile process.

Your guidance is highly appreciated.

Thank you,
Emad


reply via email to

[Prev in Thread] Current Thread [Next in Thread]