C++ Compiler for ARM XScale

Asked by Josep L. Guallar-Esteve

Hello,

I'm new to the ARM platform, so I'd appreciate any help.

I'm starting to do some development for a Linux system that has an ARM CPU XScale-PXA270. Even after searching on Google, I'm not sure whether this is a Cortex-XXX or a different ARM CPU.

Which toolchain do I need to compile C++ code for this ARM XScale-PXA270 platform?

The hardware vendor just ships a C compiler (arm-linux-gcc.exe , with a "particular" version of Cygwin) and Java interpreter. But I'd like to use C++ code instead.

I develop on Eclipse (Eclipse CDT Kepler) on Windows 7 platform (not by choice) and I already have installed MinGW on my system. Please let me know if you need further information.

Thank you in advance,
Josep

Question information

Language:
English Edit question
Status:
Answered
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
chengbin (can-finner) said :
#1

Hi,
Would you like to compile linux applications or bare-metal programs. The tools published here is only for bare-metal programs. For linux applications, you may go to https://launchpad.net/linaro-toolchain-binaries and give it a try.

I don't think XScale-PXA270 is one of cortex-xx kind of processor (but not sure), gcc should have option "-mcpu=xscale" (or something like this) to generate optimal code for the processor. You might have to do some research work (may be from example project) to find out which option you should use.

At last, for a linux toolchain, kernel/toolchain/library/application are tightly bind together, it would save you lots of time if support is available.

Thanks.

Revision history for this message
Josep L. Guallar-Esteve (jgesteve) said :
#2

Thank you chengbin!

I will look into it.

All the best,
Josep

Can you help with this problem?

Provide an answer of your own, or ask Josep L. Guallar-Esteve for more information if necessary.

To post a message you must log in.