Dave,
 
It looks like you were right.  I was finally able to alias arm-linux-gcc to make it easier to run elsewhere, and I got it to compile, and it is running on the gumstix now.
 
Thanks,
Adrian
 
On 5/8/06, Jonathan Stewart <aggie.stewart@gmail.com > wrote:
---------- Forwarded message ----------
From: Dave Hylands < dhylands@gmail.com>
Date: May 8, 2006 4:01 PM
Subject: Re: compiling C code for gumstix
To: Jonathan Stewart < aggie.stewart@gmail.com>
Cc: gumstix-users@lists.sourceforge.net

Hi John,


On 5/8/06, Jonathan Stewart <aggie.stewart@gmail.com > wrote:
> I am trying to compile code for the gumstix and i get an error when i run
> the executable the says "./serial: 1: Syntax error: "(" unexpected".  what
> does this mean and how can i compile code without having to add it to the
> buildroot?

What are the exact commands you used to do the compile?

It sounds like you're using the host gcc rather than the
cross-compiler for the gumstix.