Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.

cross compile for arm (xscale)

intelsnk
Beginner
644 Views
Can the Intel C++ compiler cross compile to arm? This is for linux.

And the kicker (not the right forum, sorry) - same question for the Fortran compiler.
0 Kudos
1 Solution
Om_S_Intel
Employee
644 Views
Intel C++ and FORTRAN compiler do not cross compile for ARM. Also Intel does not have current plan to build a cross compiler for ARM.

View solution in original post

4 Replies
aazue
New Contributor I
644 Views
Hi
Can the Intel C++ compiler cross compile to arm? This is for linux.
I think not...

Make VM with Qemu emulator (debian netboot) machine armel
Gnu compiler could working very slow but it must work.
you have Gnu compiler default 4.4 fortran included but not ELF (gold)
If you have UEFI Firmware remember to enable virtual option in Intel
processor manager.

Cross is complex i think .. (ARM barriers cp15 -> isb,dsb,dmb) and no
SMP etc ....require binary is tested real mode more sure

Before Intel mobile ready (I hope finally....)
death in the soul, I have building on ARM machine a source Gnu compiler 4.6.2 version more actualized that its armel distribution default.

root@bustaf-laptop:/sdc32/sources# /usr/bin/g++-4.6.2 -v
Utilisation des specs internes.
COLLECT_GCC=/usr/bin/g++-4.6.2
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabi/4.6.2/lto-wrapper
Target: arm-linux-gnueabi
Configur avec: ./configure --disable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6.2 --program-suffix=-4.6.2 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv7-a --with-float=softfp --with-fpu=vfpv3-d16 --with-mode=thumb --disable-werror --enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi --target=arm-linux-gnueabi
Modle de thread: posix
gcc version 4.6.2 (GCC)


I have upgrade the compiler to this netbook(ARMv7 Processor rev 5) machine for compare with Atom N570 (penalty frequency considered)
the two machines installed on sdcard.
Same it's possible to evaluate what you have really existing under the smartphones existing
and what could be with Atom Intel on mobile
It takes a long time but ,only , those that have the hands soiled
in engine give the true.
Do not think is i search to decrease product ARM, the work shared in all sides is well.
I have compile an large of sources actualized for it work better,and i am
very happy with result and the experience acquired.
(also very happy to this Arm machine)
I have now packages more recent that have last Debian or Ubuntu (AMD & INTEL)
Just for me,i wait processor Intel more great power that is hosted actually in the smartphone or the tablet.

I forget ...
root@bustaf-laptop:/sdc32/sources# cat /proc/cpuinfo
Processor : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 799.53
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc08
CPU revision : 5

Hardware : Hercules eCAFE 20110418
Revision : 51130
Serial : xxxxxxxxxxxxxx


Regards


Om_S_Intel
Employee
645 Views
Intel C++ and FORTRAN compiler do not cross compile for ARM. Also Intel does not have current plan to build a cross compiler for ARM.
aazue
New Contributor I
644 Views
Hi
Also Intel does not have current plan to build a cross compiler for ARM.

Maybe ,It could be better you envisage an plan to make an smartphone Intel before ...

Regards
SergeyKostrov
Valued Contributor II
644 Views
There was an Intel C++ Compiler for XScale and Windows CE. The compiler wasa Windows
platformhostedand did not support building Linux applications.You could alsocontact to Marvell because
Intel has sold XScale some time ago.
Reply