This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
arm-9tdmi-linux-gnu: unexpected "("
- From: Pramod P K <pra dot engr at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 24 Oct 2005 18:50:02 +0530
- Subject: arm-9tdmi-linux-gnu: unexpected "("
Hi
I've used crosstool-0.38 with
gcc-3.4.3
glibc-2.3.3
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 :
#include<stdio.h>
main()
{
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:
arm-9tdmi-linux-gnu: unexpected "("
Why is it so?
i've used option GCC_LANGUAGES="c,c++" in demo-arm9tdmi.sh. 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.
Regards,
----------------------------------------------------------------
PRAMOD P. K., <pra.engr@gmail.com>
CDMA: 91- 9242195490.
----------------------------------------------------------------