Guile 3.0.10 Cross Compile

Emad Alblueshi <[email protected]>
Newsgroups gmane.lisp.guile.user
Message-ID <CAG7mKcnzE1N=FrksrT6CwCvYBa2o36U3exeXrxhPWojR0Q9KnA@mail.gmail.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.