dear gromacs users,<br>I tried to cross-compile gromacs for powerpc on
an intel
x86&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
machine. i set the configure options as<br>
<br>
export CPPFLAGS=-I/mnt/usr/local/include<br>
export LDFLAGS=-L/mnt/usr/local/lib<br>
<br>
=&gt;i had mounted another root file system(simulated) onto mnt.<br>
i ran the configure script with the following options.<br>
<br>
./configure&nbsp; --prefix=/mnt/usr/local/&nbsp;
CC=&quot;/opt/sce/toolchain-2.3/ppu/bin/ppu-gcc -m32 -Wl,-m,elf32ppc&quot;&nbsp;
--enable-portable-binary
CFLAGS=-L/home/murali/cell1.0.1/sysroot/usr/lib&nbsp;
--host=powerpc64-linux
RANLIB=/opt/sce/toolchain-2.3/ppu/bin/powerpc64-linux-ranlib<br>
<br>
<br>
on doing make i got the following error<br>
<br>
./mknb&nbsp;&nbsp; -software_invsqrt<br>
./mknb: ./mknb: cannot execute binary file<br>
make[5]: *** [kernel-stamp] Error 126<br>
make[5]: Leaving directory `/home/murali/gromacs/gromacs-3.3.1/src/gmxlib/nonbonded/nb_kernel'<br>
make[4]: *** [all-recursive] Error 1<br>
make[4]: Leaving directory `/home/murali/gromacs/gromacs-3.3.1/src/gmxlib/nonbonded'<br>
make[3]: *** [all-recursive] Error 1<br>
make[3]: Leaving directory `/home/murali/gromacs/gromacs-3.3.1/src/gmxlib'<br>
make[2]: *** [all-recursive] Error 1<br>
make[2]: Leaving directory `/home/murali/gromacs/gromacs-3.3.1/src'<br>
make[1]: *** [all] Error 2<br>
make[1]: Leaving directory `/home/murali/gromacs/gromacs-3.3.1/src'<br>
make: *** [all-recursive] Error 1<br>
<br>
i understand that the mknb file generated by make is an powerpc
executable and therefore cannot be executed.(since i am on a intel
machine).<br>
<br>
kindly help me solve this problem.thank you in advance.<br>
<br>
sincerely, <br>
ganapathy senthilkumar<br>