Hello,
> 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
Typically when someone says toolchain they are refering to crosscompiling.
If you are crosscompiling (unless you have modified the toolchain) you
shouldn't be using gcc(this would be the native compiler on your PC).
You can verify this by running the following command, to determine what
architecture the file has been compiled for.
file hello
//Eddie
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/
|