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 9th August 2010 at http://forums.arm.com

    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.


    Using 'armcc --translate_gcc --arm_linux_config_file=... --static ...' should behave like 'gcc --static ...'.  What command-line options are you using?
Reply
  • Note: This was originally posted on 9th August 2010 at http://forums.arm.com

    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.


    Using 'armcc --translate_gcc --arm_linux_config_file=... --static ...' should behave like 'gcc --static ...'.  What command-line options are you using?
Children
No data