This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Linux applications using RVDS

Note: This was originally posted on 28th July 2010 at http://forums.arm.com

hi

I  cross compiled some linux code using RVDS .

i used the instructions given in the following document

Building linux Applications using RVCT 4.0 and GNU tools

i used the latest CODE sourcery tool chain for this..


The compilation went through and it created a dynamically linked excuetable which uses shared libs.

My aim is to create a static excuetable which does not depend on any shared obj .

(basically something like gcc --static ) but i am not able to find such a option with armcc.

Kindly help

Regards
Sundar
Parents
  • Note: This was originally posted on 17th August 2010 at http://forums.arm.com

    By the way, I notice that I made a mistake in an earlier post:  the GNU spelling of the option is '-static' (single '-', not '--'), so I should have said:


    Hi Scott

    Thanks, it worked for me. I was giving --static as a command line option which was the reason it was not working. When i changed it to -static as you said it worked.

    I have one last question regarding  the translate_gcc option with armcc and compiling of linux application using RVDS in general

    Does it affect the performance which RVDS promises to give over gcc ? i mean For compiling linux applications we use all gcc libraries ( code sourcery libraries, use gcc options ). The effect of this on RVDS performance over gcc.?
     

    Thanks
    Sundar
Reply
  • Note: This was originally posted on 17th August 2010 at http://forums.arm.com

    By the way, I notice that I made a mistake in an earlier post:  the GNU spelling of the option is '-static' (single '-', not '--'), so I should have said:


    Hi Scott

    Thanks, it worked for me. I was giving --static as a command line option which was the reason it was not working. When i changed it to -static as you said it worked.

    I have one last question regarding  the translate_gcc option with armcc and compiling of linux application using RVDS in general

    Does it affect the performance which RVDS promises to give over gcc ? i mean For compiling linux applications we use all gcc libraries ( code sourcery libraries, use gcc options ). The effect of this on RVDS performance over gcc.?
     

    Thanks
    Sundar
Children
No data