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/
|