ts-7000
[Top] [All Lists]

Re: [ts-7000] Dynamically Linked helloword

To:
Subject: Re: [ts-7000] Dynamically Linked helloword
From: "Martin Guy" <>
Date: Fri, 28 Dec 2007 17:26:36 +0000
2007/12/28, fulatoro <>:
> Hello, I have been trying to compile and run a simple helloworld
> program on the TS7800 but with limited success.
> I have tried arm-none-linux-gnueabi-gcc compiler 3.4.4 and 4.2.0 as
> provided in the kit.
>
> I can only succeed in running the program if I statically link it with
> a -static flag.  Dynamically linked version do not run, I just get a
>
> -bash: ./hello: No such file or directory.
>
> I can only assume that this is because there is a mismatch in the libc
> versions, is that correct?

Yes, or some other dynamic library, or maybe /lib/ld-linux.so.N is the
wrong version.

Hang on, are you running an EABI kernel on the board? I guess if the
statically-cross-compiled binaries from the gnuebai crocc-sompiler
work then you are. You can find out by using the commands listed at
the top of wiki.debian.org/ArmEabiPort on some regular executables on
your board.

    M


 
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