[mpich2-dev] want to cross compile mpich2

郭沐Sn4+ maxgreg13625 at gmail.com
Sun Oct 17 12:56:06 CDT 2010


Dear all

 

I downloaded a tool chain from this website

http://www.codesourcery.com/sgpp/lite/arm/portal/subscription?@template=lite

 

I have try the follow steps to configure mpich2

 

$export CC=/home/sn/multiARM/arm-2010q1/bin/arm-none-linux-gnueabi-gcc

$export AR=/home/sn/multiARM/arm-2010q1/bin/arm-none-linux-gnueabi-ar

$export
RANLIB=/home/sn/multiARM/arm-2010q1/bin/arm-none-linux-gnueabi-ranlib

$export AS=/home/sn/multiARM/arm-2010q1/bin/arm-none-linux-gnueabi-as

$export LD=/home/sn/multiARM/arm-2010q1/bin/arm-none-linux-gnueabi-ld

$export NM=/home/sn/multiARM/arm-2010q1/bin/arm-none-linux-gnueabi-nm

 

$/home/sn/mpich2/libraries/mpich2-1.2.1p1/configure --disable-f77
--disable-f90 --disable-cxx --disable-sharedlibs
--prefix=/home/sn/mpich2/mpich2-install --build=i686-pc-linux-gnu
--host=arm-none-linux-gnueabi  2>&1 | tee c.txt

 

However the terminal will generate this error message as follow

 

configure: WARNING: Could not define Fortran MPI datatypes for C

checking the sizeof MPI_Offset…
/home/sn/mpich2/libraries/mpich2-1.2.1p1/configure: line 41544: ./conftest:
cannot execute binary file

configure: WARNING: Unable to run the program to determine the size of
MPI_Offset

unknown

configure: error: Unable to convert MPI_SIZEOF_OFFSET to a hex string. This
is either because we are building on a very strange platform or there is a
bug some in configure.

 

Is there any steps I tried was wrong!?

I don’t why the terminal generate this message.

 

Thanks a lot

Best Regards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich2-dev/attachments/20101018/2dd9575f/attachment.htm>


More information about the mpich2-dev mailing list