--- In "alexanchoragealaska" <> wrote:
>
> I tried to use ldd on Cygwin (desktop) and on the TS-Linux (TS-7260).
> In both cases I am getting: command not found. I believe I have full
> installation of Cygwin, so is their something I need to add to the
> PATH n order to be able to use LDD?
>
> -- In "Andy Mercier" andynmercier@ wrote:
> >
> > --- In "alexanchoragealaska" <alex@> wrote:
> > >
> > > Hi all,
> > >
> > > I have similar problem with TS-7260. It's extremely slow doing
> > > floating point calculations (log(), sqrt() function).
> > >
> > > I am wondering if I have the same issue on TS-7260 as Mike had on
> > > TS-7800. How can I figure out what libraries are called by cross
> > > compiled executable?
> > >
> > > I started with Linux and TS-7260 few months ago. So, I don't have
much
> > > experience with cross compiling and gcc.
> > >
> > > I am running TS-Linux, cygwin-gcc-3.3.2-glibc-2.3.3 toolchain and
I am
> > > using next compile option:
> > > arm-unknown-linux-gnu-cc -lm -Wall -O2 -o Executable MyProgram.c
> > >
> > > Thanks in advance,
> > >
> > > - Alex
> >
> > Alex,
> > Use the ldd command on your executable since it looks like you're
> > compiling with shared libraries. Any questions about ldd just use
man
> > ldd on Debian or Google "man ldd".
> >
> > ----
> > Andy
> >
>
--- In "alexanchoragealaska" <> wrote:
>
> I tried to use ldd on Cygwin (desktop) and on the TS-Linux (TS-7260).
> In both cases I am getting: command not found. I believe I have
> full installation of Cygwin, so is their something I need to add to
> the PATH n order to be able to use LDD?
>
> -- In "Andy Mercier" <andynmercier@> wrote:
> >
> > --- In "alexanchoragealaska" <alex@> wrote:
> > >
> > > Hi all,
> > >
> > > I have similar problem with TS-7260. It's extremely slow doing
> > > floating point calculations (log(), sqrt() function).
> > >
> > > I am wondering if I have the same issue on TS-7260 as Mike had on
> > > TS-7800. How can I figure out what libraries are called by cross
> > > compiled executable?
> > >
> > > I started with Linux and TS-7260 few months ago. So, I don't have
much
> > > experience with cross compiling and gcc.
> > >
> > > I am running TS-Linux, cygwin-gcc-3.3.2-glibc-2.3.3 toolchain and
I am
> > > using next compile option:
> > > arm-unknown-linux-gnu-cc -lm -Wall -O2 -o Executable MyProgram.c
> > >
> > > Thanks in advance,
> > >
> > > - Alex
> >
> > Alex,
> > Use the ldd command on your executable since it looks like you're
> > compiling with shared libraries. Any questions about ldd just use
man
> > ldd on Debian or Google "man ldd".
> >
> > ----
> > Andy
> >
>
Alex,
Let me clarify. Debian on your TS-7260 is what you need -OR-
cross-compiling and other development on a Linux installation, say in
QEmu or native (i.e. an installation) will avoid issues like this... You
need better tools.
Now that the floating point question has been answered by Technologic...
this is way OT and I've modified the "Subject:" to reflect that, a
little.
I don't have a TS-7260 but I do have Debian on a TS-7250, TS-7300 and
TS-7400 and it helps... a lot. You can get it onto your TS-7260 with an
SD Card or a USB flash drive but it depends on how you ordered your
board (Standard order is XDIO unless you specify and pay for SD card),
in either configuration a USB flash drive should work.
Anyway, I learned something... ldd isn't in Cygwin! I checked
http://www.cygwin.com/packages/ which provides a search of all the files
and it doesn't appear where it should (the hits that come up aren't the
ldd we need - We need the one that's part of the library tools.)
You have reached the limits of what you can do with Cygwin when
cross-compiling because it doesn't have the ARM loader which is used by
ldd which is a script. The script won't work with Busybox unless
something's modified - BusyBox or the script.
Good luck.
----
Andy
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/
|