Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » error: target CPU does not support ARM mode(Eclipse on a Virtual Machine)
error: target CPU does not support ARM mode [message #1010495] Sun, 17 February 2013 13:31
Alfred Tuns is currently offline Alfred TunsFriend
Messages: 1
Registered: February 2013
Junior Member
I'm using a Virtual Machine (VMare Player), in which I run TW WinXp. In this environment I work with Eclipse. When I press on the button "Build", here is the message I get:


**** Build of configuration Debug for project Carbone_A1 ****

cs-make all
'Building file: ../main.c'
'Invoking: ARM Sourcery Windows GCC C Compiler'
arm-none-eabi-gcc -I"C:\workspace\Carbone_A1\Libraries" -I"C:\workspace\Carbone_A1\Libraries\inc" -I"C:\workspace\Carbone_A1\Libraries\src" -O0 -pedantic -Wall -fsigned-char -c -fmessage-length=0 -MMD -MP -MF"main.d" -MT"main.d" -mcpu=cortex-m3 -g3 -gdwarf-2 -o"main.o" "../main.c"
../main.c:1: error: target CPU does not support ARM mode
cs-make: *** [main.o] Error 1


I don't really know from where this error comes out. I'd like to kindly ask if you could help me solving this issue.
Maybe the "main.c" file I have is wrong. When I "drop and drag" the main.c to the project, I noticed that the icons under it, init.h and irq.q, have a yellow exclamation mark warning sign (before debugging it). However, this is its content:

#include "init.h"
#include "irq.h"
int main(void)
{
systemInit();

init_VIC();
for(;;)
{
}
}

Thank you
Previous Topic:Incompatible JVM at Eclipse installation
Next Topic:FileNotFound
Goto Forum:
  


Current Time: Fri Apr 26 21:46:04 GMT 2024

Powered by FUDForum. Page generated in 0.07749 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top