bug-groff
[Top][All Lists]
Advanced

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

Cannot cross-compile groff-1.20.1


From: booleandomain
Subject: Cannot cross-compile groff-1.20.1
Date: Sat, 08 Aug 2009 16:11:47 +0200
User-agent: Thunderbird 2.0.0.22 (Windows/20090605)

Hello,

I can't cross-compile groff-1.20.1 with gcc-4.4.1. Make fails with the following error message:

make[2]: Entering directory `/mnt/clfs/sources/groff-build/doc'
GROFF_COMMAND_PREFIX=''; export GROFF_COMMAND_PREFIX; GROFF_BIN_PATH=`echo /mnt/clfs/sources/groff-build/src/roff/groff /mnt/clfs/sources/groff-build/src/roff/troff /mnt/clfs/sources/groff-build/src/preproc/pic /mnt/clfs/sources/groff-build/src/preproc/eqn /mnt/clfs/sources/groff-build/src/preproc/tbl /mnt/clfs/sources/groff-build/src/preproc/grn /mnt/clfs/sources/groff-build/src/preproc/refer /mnt/clfs/sources/groff-build/src/preproc/soelim /mnt/clfs/sources/groff-build/src/preproc/html /mnt/clfs/sources/groff-build/src/devices/grops /mnt/clfs/sources/groff-build/src/devices/grohtml | sed -e 's| *|:|g'`; export GROFF_BIN_PATH; sed -e "s;@VERSION@;1.20.1;" /mnt/clfs/sources/groff-1.20.1/doc/meref.me | /mnt/clfs/sources/groff-build/src/roff/groff/groff -M/mnt/clfs/sources/groff-build/tmac -M/mnt/clfs/sources/groff-build/../groff-1.20.1/tmac -F/mnt/clfs/sources/groff-build/font -F/mnt/clfs/sources/groff-build/../groff-1.20.1/font -Upet -ww -Tps -ge -me >meref.ps /bin/sh: /mnt/clfs/sources/groff-build/src/roff/groff/groff: cannot execute binary file
make[2]: *** [meref.ps] Error 126
make[2]: Leaving directory `/mnt/clfs/sources/groff-build/doc'
make[1]: *** [doc] Error 2
make[1]: Leaving directory `/mnt/clfs/sources/groff-build'
make: *** [all] Error 2

I think this is because the host machine is 32-bit, while the target machine is 64-bit, so the groff command cannot be executed. The build process should use the groff command from the host system, not the newly generated one.

Groff was configured with: --prefix=/usr --build=i686-pc-linux-gnu --host=x86_64-unknown-linux-gnu

My problem seems similar to that reported here: http://bugs.gentoo.org/257778

Thanks.




reply via email to

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