×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    May 2007
    Location
    India
    Posts
    197

    CSL arm toolchain

    Hi,

    I do not know how to use CSL arm toolchain. Can anyone please help me?

    I want to use "arm-none-symbianelf-gcov.exe" for finding coverage of my code.

    Can anyone tell me the steps how can i do that?

    I have tried "abld build gcce -ftest-coverage -fprofile-arcs urel"

    but I am getting error as
    Unknown option: ftest-coverage
    Unknown option: fprofile-arcs


    I have tried to use
    abld build arm-none-symbianelf-gcc.exe urel
    abld build arm-none-symbianelf-g++.exe urel

    but it gives error as
    This project does not support platform "ARM-NONE-SYMBIANELF-G++.EXE"
    or
    This project does not support platform "ARM-NONE-SYMBIANELF-GCC.EXE"

    Can anyone please help me that how can I use these compilers and how can I do code coverage?

    Thanks in advance,
    Digish

  2. #2
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: CSL arm toolchain

    Hi,

    It's a good point and I've never tried to run these tools for Symbian (although I probably should have).

    What you're trying to do is pass the compiler options to the abld batch file/perl script. This won't work (as you've found). You MIGHT be able to get it to work by adding your -f options with an OPTION keyword in the MMP file (look up the MMP file syntax in the SDK docs). Otherwise you would need to modify the makefiles or possibly add an extension makefile.

    If anyone else knows how to do this please jump in! Otherwise, please report back and let us know if you get this working.

    Sorcery

  3. #3
    Registered User
    Join Date
    May 2007
    Location
    India
    Posts
    197

    Re: CSL arm toolchain

    Hi Sorcery,

    As per your suggestion,
    I have tried to build with given compiler options in mmp file.

    It has created gcno files but I do not get that after transferring exe file to phone, how and where can I get gcda files?

    Can you give any hint?

    Thanks,
    Digish

  4. #4
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: CSL arm toolchain

    Hi,

    Have you followed the instructions for cross-compilation? The program probably can't create files in the correct directories on the target, so you need to specify different ones.

    I don't know if this works or not, but I don't see why it shouldn't:
    http://gcc.gnu.org/onlinedocs/gcc/Cr..._002dprofiling

    Sorcery

  5. #5
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: CSL arm toolchain

    One hint could be that since those tools are not by default supported by the Symbian toolchain (AFAIK) you should ask assistance from CodeSurcery (https://support.codesourcery.com/GNUToolchain/).
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

Similar Threads

  1. ARM processor in mobile devices
    By goblet in forum General Development Questions
    Replies: 2
    Last Post: 2008-03-02, 22:21
  2. Dll::Tls linking problem with ARM
    By pka64pka in forum Symbian
    Replies: 2
    Last Post: 2008-01-02, 09:24
  3. difference between ARM UREL and ARM UDEB
    By navjotsingh1979 in forum Symbian
    Replies: 11
    Last Post: 2007-10-29, 12:59
  4. How do I make DSOs using CSL arm toolchain?
    By Martin_Malek in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2007-08-25, 12:10
  5. ARM cpu Big/Little Endian ?
    By jay.busari in forum Symbian
    Replies: 2
    Last Post: 2005-02-04, 05:31

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •