• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Development Tools » TI C/C++ Compiler » TI C/C++ Compiler - Forum » How to make executable dynamic?
Share
TI C/C++ Compiler
  • Forum
Options
  • Subscribe via RSS

Forums

How to make executable dynamic?

This question is answered
Mohamed Sohal
Posted by Mohamed Sohal
on Mar 27 2012 07:35 AM
Expert1170 points

Hi all,

I want "--relocatable --dynamic --ram_model -o" on my makefile.. but when i build I get only "--relocatable --ram_model -o".

How to get my executable dynamic?

CCS v5.0.23

CGT 7.2.1

Regards,

Sohal

code generation tools C6000 compiler code composer code Composer studio EABI CCS compiler CCS CCS5 C6000 compiler CCS v5 CCSv5 C66x executable file
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • George Mock
    Posted by George Mock
    on Mar 27 2012 14:17 PM
    Guru51475 points

    A good place to start is the wiki article http://processors.wiki.ti.com/index.php/C6000_Dynamic_Linking .

    Thanks and regards,

    -George


    TI C/C++ Compiler Forum Moderator
    Please click Verify Answer on the best reply to your question.
    The Compiler Wiki answers most common questions.
    Track an issue with SDOWP. Enter your bug id in the "Find Record ID" box.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mohamed Sohal
    Posted by Mohamed Sohal
    on Mar 30 2012 00:45 AM
    Expert1170 points

    Thanks Georgem for the reply...
    But I cant figure out how to make my executable dynamic?

    Regards,

    Sohal 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • George Mock
    Posted by George Mock
    on Apr 02 2012 15:00 PM
    Guru51475 points

    I'm sorry, but I'm not sure what you are getting at.  What is the overall problem you are trying to solve?  What exactly is it about your system that needs to be dynamic, and why?

    Thanks and regards,

    -George


    TI C/C++ Compiler Forum Moderator
    Please click Verify Answer on the best reply to your question.
    The Compiler Wiki answers most common questions.
    Track an issue with SDOWP. Enter your bug id in the "Find Record ID" box.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mohamed Sohal
    Posted by Mohamed Sohal
    on Apr 03 2012 00:48 AM
    Expert1170 points

    Hi Georgem,

    I've created a CCS project. It was built correctly with no errors and the .out was generated. 

    But the symbol for the .out seemed like this (010) rather than the "play" like symbol.

    I was not able to load this executable to the cores using CCS. When I compared my project with the MCSDK Image Processing Demo I could find that --dynamic flag is missing in my makefile.

    In my makefile there's a portion like "--reread_libs --relocatable --ram_model -o "image_processing_evm6678l_master.out" $(ORDERED_OBJS)".

    In MCSDK Image Processing Demo makefile "--reread_libs --relocatable --ram_model --dynamic -o "image_processing_evmc6678l_slave.out" $(ORDERED_OBJS)"

    When I hardcode --dynamic flag and amke the makefile readonly its working otherwise not. So How could I make my executable dynamic without hardcoding????

    Please help.




    Regards,

    Sohal 

    C6000 code composer code Composer studio CCS5 CCS v5 CCSv5 C66x
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • AartiG
    Posted by AartiG
    on Apr 03 2012 10:10 AM
    Guru69065 points

    Mohamed Sohal
    When I hardcode --dynamic flag and amke the makefile readonly its working otherwise not. So How could I make my executable dynamic without hardcoding????

    If you're asking specifically how to add the --dynamic option to your project, you should be able to enable the option under Linker options (similar to the screenshot below). Do you not see it there?


    If a post answers your question please mark it with the "Verify Answer" button

    Search the wikis for common questions: CGT, BIOS,  CCSv3, CCSv4
    Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mohamed Sohal
    Posted by Mohamed Sohal
    on Apr 03 2012 22:35 PM
    Expert1170 points

    Hi AartiG,

    Thanks for the reply. I'm using CCSv5.0.23. The following is the properties window which does not have a Dynamic Linking Support Options tab.

    Can you please help on this?


    Regards,

    Sohal 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • AartiG
    Posted by AartiG
    on Apr 04 2012 09:41 AM
    Verified Answer
    Verified by Mohamed Sohal
    Guru69065 points

    Sohal,

    I don't havea CCS 5.0.x currently installed to double check, but if the option is not available under any of the linker options, you should be able to manually add the option to the build command line. In the command-line pattern, add the --dynamic option after ${flags}.

    I would also recommend updating to CCS 5.1.x as soon as possible. This will not be an issue in 5.1 and also there are no updates planned for 5.0.x and 5.1.x is the recommended update path for that version.


    If a post answers your question please mark it with the "Verify Answer" button

    Search the wikis for common questions: CGT, BIOS,  CCSv3, CCSv4
    Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mohamed Sohal
    Posted by Mohamed Sohal
    on Apr 04 2012 23:55 PM
    Expert1170 points

    Thanks AartiG :)... That solved my problem.

    Regards,

    Sohal

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use