One more thing. Here are my compiler and link flag settings, if this helps.
Please let me know if there is somethings off here.
Also, Curious as to what anyone else's flags are being set to out there if they
want to chime in.
buildEnv['CC'] = tool_path + 'arm-unknown-linux-gnu-gcc'
buildEnv['CXX'] = tool_path + 'arm-unknown-linux-gnu-g++'
buildEnv['AR'] = tool_path + 'arm-unknown-linux-gnu-ar'
buildEnv['RANLIB'] = tool_path + 'arm-unknown-linux-gnu-ranlib'
buildEnv.Append(CCFLAGS = '-g -O0 -Wall -mfloat-abi=soft -Werror')
buildEnv.Append(CXXFLAGS = '-g -O0 -Wall -mfloat-abi=soft -Werror')
buildEnv.Append(LINKFLAGS = '-lstdc++ --verbose --entry main -lm -lpthread')
--- In "al" <> wrote:
>
> Danny, it appears you are not including the math support library. That
> library, and others, are not included by default, so you have tell the linker
> to include them. For the math library the option you need is "-lm".
>
> HTH
>
>
> --- In "dannyd5000" <daniel.desrude@> wrote:
> >
> > I have been running into a few problems getting my software to run after on
> > the target.
> >
> > 1st off I would like to see what compiler flags you are setting?
> >
> >
> > More detailed information about my problem.......
> >
> > I am able to run portions of the the st-application successfully. But when
> > I try to run software in its entirety I get this error.
> >
> > ./st-application: relocation error: ./st-application: symbol __floatsisf,
> > version GCC_3.0 not defined in file libgcc_s.so.1 with link time reference
> >
> >
> > on the target when I run the command strings /lib/libgcc_s.so.1 I do not
> > see the _floatsisf. However when i run the command on the linux machine
> > where the code is compiled i do see _floatsisf defined.
> >
> >
> > I am using the crosstool-linux-gcc-4.2.1-glibc-2.7-oabi.tar.gz for
> > cross-compiling.
> >
> > Any one else run into this problem? Any Suggestions?
> >
> > 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/
|