Here's my program:
#include <stdio.h>
int main()
{
printf("Hello World");
return 0;
}
execute
/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-fsl-linux-gnueabi-gcc
-o HelloWorld.out HelloWorld.c
I get:
HelloWorld.c: In function 'main':
HelloWorld.c:6: error: stray '\302' in progress
HelloWorld.c:6: error: stray '\250' in progress
HelloWorld.c:6: error: 'hello' undeclared (first use in this function)
HelloWorld.c:6: error: (Each undeclared idnetifier is reported only
once)
HelloWorld.c:6: error: for each function it appears in.)
HelloWorld.c:6: error: expected ')' before 'World'
HelloWorld.c:6: error: stray '\302' in progress
HelloWorld.c:6: error: stray '\250' in progress
This should be pretty easy. What am I missing . I think I would be
better off uding Eclipse. I'll keep working on that.
Leonard