Dear developers,

I tried to build Groff 1.21 yesterday with a cross-compilation. Here is what I
did:

    tar xf groff-1.21.tar.gz
    cd groff-1.21
    PAGE=A4 \
        ./configure \
        --build=mipsel-cross-linux-gnu \
        --host=mips64el-cross-linux-gnu \
        --prefix=/usr

The above commands went ok, but then:

    make \
        TROFFBIN=troff \
        GROFFBIN=groff \
        GROFF_BIN_PATH=

Gives me the following error message:

    checking whether we are cross compiling... configure: error: in
`/microcebus/build/groff-1.21/src/libs/gnulib': configure: error: cannot run C
compiled programs.
    If you meant to cross compile, use `--host'.
    See `config.log' for more details
    make[2]: Entering directory `/microcebus/build/groff-1.21/src/libs/gnulib'
    make[2]: *** No rule to make target `all'.  Stop.
    make[2]: Leaving directory `/microcebus/build/groff-1.21/src/libs/gnulib'
    make[1]: *** [src/libs/gnulib] Error 2
    make[1]: Leaving directory `/microcebus/build/groff-1.21'
    make: *** [all] Error 2

I meant to cross compile when I did "./configure" but this information seems
not to have been reported to the configure files inside src/libs/gnulib.

Christophe

_______________________________________________
bug-groff mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-groff

Reply via email to