Alberto,

Have you tried the toolchain from linaro ?
https://releases.linaro.org/components/toolchain/binaries/latest/aarch64-linux-gnu/

Best,
Pasha

On Tue, Nov 14, 2017 at 4:07 AM, Alberto Ortiz <alberto.orti...@gmail.com>
wrote:

> Hi,
> I am trying to run in this type of environment:
>
> 1- A linux PC in which I intend to compile MPI programs for arm embedded
> processors
> 2- The arms
>
> I have OpenMPI compiled in the arms with dynamic libraries, in case I
> compile natively as well as for the use of 'mpirun' when I get the
> cross-compiled programs from the PC.
>
> For some reason, I need to cross-compile MPI programs in the PC to use in
> the embedded system, so I believe I need to compile OpenMPI on the PC and
> select the cross-compiler as well as the host in which the programs will
> run. Even though, I don't seem to get it right.
>
> I have tried the following configure options:
> ../openmpi-3.0.0/configure  --enable-static --disable-shared
> --host=arm-linux --disable-mpi-fortran --prefix=/home/user/openmpi-install/
> CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++
>
> My intention is to run 'mpicc' on the PC so that it calls the
> cross-compiler specified with 'CC' as well as all MPI flags, generating a
> program with static-linking that would run on the arm embedded processors.
>
> Thank you in advance,
> Alberto
>
> _______________________________________________
> users mailing list
> users@lists.open-mpi.org
> https://lists.open-mpi.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Reply via email to