ts-7000
[Top] [All Lists]

[ts-7000] Re: TS-7500 For those who are cross compiling ,what compiler o

To:
Subject: [ts-7000] Re: TS-7500 For those who are cross compiling ,what compiler options are you using?
From: "dannyd5000" <>
Date: Wed, 22 Feb 2012 19:36:23 -0000
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/

<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