I tried to cross-compile gromacs for powerpc on an intel x86 machine. i set the configure options as
export CPPFLAGS=-I/mnt/usr/local/include
export LDFLAGS=-L/mnt/usr/local/lib
=>i had mounted another root file system(simulated) onto mnt.
i ran the configure script with the following options.
./configure --prefix=/mnt/usr/local/ CC="/opt/sce/toolchain-2.3/ppu/bin/ppu-gcc -m32 -Wl,-m,elf32ppc" --enable-portable-binary CFLAGS=-L/home/murali/cell1.0.1/sysroot/usr/lib --host=powerpc64-linux RANLIB=/opt/sce/toolchain-2.3/ppu/bin/powerpc64-linux-ranlib
on doing make i got the following error
./mknb -software_invsqrt
./mknb: ./mknb: cannot execute binary file
make[5]: *** [kernel-stamp] Error 126
make[5]: Leaving directory `/home/murali/gromacs/gromacs-3.3.1/src/gmxlib/nonbonded/nb_kernel'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/murali/gromacs/gromacs-3.3.1/src/gmxlib/nonbonded'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/murali/gromacs/gromacs-3.3.1/src/gmxlib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/murali/gromacs/gromacs-3.3.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/murali/gromacs/gromacs-3.3.1/src'
make: *** [all-recursive] Error 1
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).
kindly help me solve this problem.thank you in advance.
sincerely,
ganapathy senthilkumar
_______________________________________________ gmx-users mailing list gmx-users@gromacs.org http://www.gromacs.org/mailman/listinfo/gmx-users Please don't post (un)subscribe requests to the list. Use the www interface or send it to [EMAIL PROTECTED] Can't post? Read http://www.gromacs.org/mailing_lists/users.php