ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: TS7200 hello world problem

To:
Subject: Re: [ts-7000] Re: TS7200 hello world problem
From: David Hawkins <>
Date: Mon, 04 Jun 2007 10:27:52 -0700
Hi Oguzhan,

> Next, I copied this folder to 
> under usr/local/ folder and type following command to compile it 
> using the cross-compiler.
> 
> $ ./arm-unknown-linux-gnu-gcc-3.3.4 -Wall -o hello hello.c
> 
> But I can't succeed receiving following error message:
> 
> /usr/local/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-
> gnu/bin/../lib/gcc-lib/arm-unknown-linux-gnu/3.3.4/../../../../arm-
> unknown-linux-gnu/bin/ld: cannot find -lgcc_s
> collect2: ld returned 1 exit status 
> 
> Have you got any opinion about the error?

The problem is likely due to the fact that you copied the
toolchain to another location.

If you use a pre-built toolchain you need to leave the paths
as-is. If you want the tools at a specific location, then you
need to build the tools yourself (which is pretty
straight-forward).

So, try again, but leave the tools where they are, in
/opt/. Add the tool location to your path, and then try
compiling again.

Cheers
Dave


 
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/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU