I just found the problem... my internet connection.
It looked like wget downloaded the file from my webspace, but it in
fact my internet connection was down and so wget created a kind of
dummy file (??). Now everything is fine again and hello world works. :)
--- In Seano <> wrote:
>
> How are you compiling it? Can you cut and paste your commandline so
we can
> see it?
>
> I have encountered a similar problem, due to trying to build a
kernel module
> incorrectly. But its possible that your compiler may be outputting
for the
> wrong target, I think.
>
>
> On 5/22/07, oj199933 <> wrote:
> >
> > Just extract the tarball to (e.g.) /root. See page 35 of the
> > linuxarm-guide-rev2.2 for a tutorial.
> >
> > The problem I have is an error message on the SBC like:
> > ./hello: 1: Syntax error: newline unexpected
> >
> > I've tried to make many small adaptations to the original hello.c, but
> > even without empty lines I got this error. :(
> >
> > Anyone an idea?
> >
> > --- In <ts-7000%40yahoogroups.com>, "Don
W. Carr"
> > <doncarr@> wrote:
> > >
> > > The cross tools, as far as I know, are only compiled for Windows
(using
> > > cygwin), or Linux, just about any kernel works. Since OSX is based
> > on a unix
> > > kernel, it should not be a problem to compile the cross tools for
> > the Mac,
> > > but somebody would have to do that. Don.
> > >
> > > On 5/21/07, cingospet <craig_d_1@> wrote:
> > > >
> > > > I downloaded the GCC4.0.1 crosstools and am puzzled about how to
> > install
> > > > and use them.
> > > > There is no information or hints on installing/configuring. I
> > would like
> > > > to use a PCC Mac as
> > > > the development platform.
> > > >
> > > > Any clues on where to go to install the cross compiler?
> > > >
> > > > Craig
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Dr. Don W. Carr
> > > J. G. Montenegro 2258
> > > Guadalajara, Mexico
> > > +52-333-630-0704
> > > +52-333-836-4500 ext 2930
> > >
> >
> >
> >
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|