I now have it working but only if i use gcc and not g++ for linking
/usr/local/arm-oabi-toolchain/arm-unknown-linux-gnu/bin/arm-unknown-linux-gnu-g++
-o build/target/linux2/arm9/app/app -lm -lc -lstdc++ "list of object files
here"
Using g++ links but I get a failure on the TS-7500 at run time when my
application uses atof
here is the error
/app: relocation error: ./app: symbol __truncdfsf2, version GCC_3.0 not defined
in file libgcc_s.so.1 with link time reference
Using gcc links and runs on the board with no problems
/usr/local/arm-oabi-toolchain/arm-unknown-linux-gnu/bin/arm-unknown-linux-gnu-gcc
-o /mnt/project/pems/ptc/build/target/linux2/arm9/app/app -lm -lc -lstdc++
Any ideas as to why?
--- In "al" <> wrote:
>
> No special compiler settings are needed, but you will need to use the -lm
> linker option to include the match library.
>
>
> --- In "dannyd5000" <dannyd4000@> wrote:
> >
> > I am able to crosscompile and run my software on the board without any
> > problems.
> >
> > However when I try to use floating point in my software I am having runtime
> > issues.
> >
> > Would those of you using floating point mind posting all of your compiler
> > and linking flags.
> >
> > Thanks in advance
> >
>
------------------------------------
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/
|