Syntax error: "(" unexpected

Pramod P K
Wed Oct 26 05:46:00 GMT 2005

I've used crosstool-0.38 with
linux-2.6.10 for arm-9tdmi-linux-gnu

At the end, it gave "done" with no errors.
But when i compile a simple prog :

int i=20;
printf("scand num:%d",i);
return 0;

using /opt/crosstool/gcc-3.4.3-glibc-2.3.3/arm-9tdmi-linux-gnu/bin/arm-9tdmi-linux-gnu-gcc
in the target board, it gave:
Syntax error:  "(" unexpected

Why is it so?

i've used option GCC_LANGUAGES="c,c++"  in But in
/crosstool/gcc-3.4.3-glibc-2.3.3/arm-9tdmi-linux-gnu/include i can
find only a folder "c++". why?

Please giv me solution.

 PRAMOD P. K., <>

 CDMA: 91- 9242195490.

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list