I'm not quite sure I understand what you mean that you did.
However, a segfaulting program is usually obtained when you mistreat a
pointer and try to read memory that the kernel think does not belong to
you.
If hello.c is the hello.c that can be found on the TS website i dont
believe that it's a pointer fault in hello.c though.
What OS are you using and what TS-board do you have?
Please run "gcc -v" and provide me with the output as well as the
content of YOUR hello.c (attach the file or cut'n paste it)
Per Öberg
Samuel wrote:
> after compiling the a simple code into an object I got the error
> segmentation fault. The following is the command I gave
>
> gcc hello.c -o hello
>
> I loaded the object file on the TS-7000 and ran ./hello and hit this
> reply,...what was wrong? I was using the toolchain provided by TS
>
> Samuel
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
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/
|