Thread: C libraries

  1. #1
    Eager young mind
    Join Date
    Jun 2006
    Posts
    342

    C libraries

    Hi,
    Is it possible to append the contents of one .a file into another? I know it sounds weird as you might ask me why not link the two files separately. I have reached a state where the only way out is to dump the contents of one .a into the other. Else, I will have to make a lot of changes to several modules of the software.
    In the middle of difficulty, lies opportunity

  2. #2
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    On *nix, perhaps you're looking for ar?

  3. #3
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    I don't think you know what you're asking. You can't just take a binary executable and just concat them together like text files. Whatever you're trying to do, you are probably going about it the wrong way.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. GCC: Compiling with both static and shared libraries
    By eatwithaspork in forum C Programming
    Replies: 4
    Last Post: 06-23-2008, 01:48 PM
  2. Replies: 7
    Last Post: 05-13-2008, 03:47 AM
  3. MinGW thread-safe runtime libraries
    By Mario F. in forum C++ Programming
    Replies: 3
    Last Post: 08-21-2006, 08:15 AM
  4. Libraries and headers
    By darksaidin in forum C++ Programming
    Replies: 10
    Last Post: 07-23-2003, 06:24 AM
  5. QT and external libraries
    By Quacker in forum Linux Programming
    Replies: 1
    Last Post: 04-08-2003, 07:02 AM