Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User kauppi's Avatar
    Join Date
    Apr 2003
    Location
    Oulu, Finland
    Posts
    6
    Hi everybody,

    Is there a way to add (GCC/ARM) .s assembly files to Carbide.vs projects?

    Just adding them to the src directory doesn't seem to work.

    --
    Ari

  2. #2
    Super Contributor mitts's Avatar
    Join Date
    Sep 2004
    Posts
    1,048
    Sorry, this is not supported by Carbide.vs.

  3. #3
    Regular Contributor vvsnaresh's Avatar
    Join Date
    Aug 2004
    Location
    Hyderabad-India
    Posts
    159
    Quote Originally Posted by mitts
    Sorry, this is not supported by Carbide.vs.
    Can you please tell me how to add and build assembly files(.s files)
    along with my C source files through command line ?

    I created .o files from .s files by compiling with the assembler(arm-none-symbianelf-as.exe),
    but not able to link these .o files with my other .o files(created from .c files).

    I want to create a .lib file from the object files of both .c and .s files.

    --
    VVS.Naresh
    --

  4. #4
    Regular Contributor ptrmn's Avatar
    Join Date
    May 2005
    Location
    Sweden
    Posts
    272
    You should be able to just add your assembler source files to the MMP file as any other source files.

    (Please note that GCC treats files with the suffixes ".s" and ".S" differently: the preprocessor is run on files with the ".S" (capital s) suffix, not on the ones with the ".s" suffix.)

Similar Threads

  1. Conditional compilation: managing set of modules
    By doctordwarf in forum Symbian C++
    Replies: 3
    Last Post: 2004-08-31, 14:01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved