Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » cross compiling using sourcery - missing neon support
cross compiling using sourcery - missing neon support [message #891348] Sun, 24 June 2012 19:17
Thomas Andersen is currently offline Thomas AndersenFriend
Messages: 3
Registered: June 2012
Junior Member
Hi

I'm sorry if this question doesnt belong here ...im unsure which forum to address!

I'm cross compiling using codesourcery in Eclipse (windows7) and I can build fine for my target (beaglebone). Now, my problem is that when I include arm_neon.h then I cannot use the intrinsics when building in Eclipse. If I compile (with neon intrinsics) using the command prompt then it works fine. So there seems to be something buggy in the IDE configuration.

My code is as simple as this:

#include "stdio.h" 
#include "arm_neon.h" 
 
float32x4_t  *y;
float x[4] = {0,1,2,3};
 
int main(void) { 

  y = (float32x4_t*) x;

  printf("Neon is supported... !\n"); 
  
  return 0; 
}


When building in Eclipse I get this error:

Type 'float32x4x4_t' could not be resolved main.c /hello line 10 Semantic Error

I should be doing this using a makefile but as a beginner here I would appreciate the IDE doing the job now.


Thanks

[Updated on: Sun, 24 June 2012 19:19]

Report message to a moderator

Previous Topic:Two Warnings. Please help
Next Topic:Show active configuration in the toolbar
Goto Forum:
  


Current Time: Fri Apr 19 21:55:10 GMT 2024

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

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

Back to the top