g++ ar command: static library dependencies hierarchy .

From: Mauro (mlubino_at_hotmail.com)
Date: 06/29/05


Date: 29 Jun 2005 07:37:36 -0700

Hi all,
I'm having some linking problem with my c++ sources on Linux.
I have an executable program which depends on my library
libCommunication.a. The library libCommunication.a depends on
cryptography library libcrypto.a. To succefully link my program I need
to link both libraries: libcrypto.a and libCommunication.a.
I need a way to link my program using only the library on which it
depends on: libCommunication.a( that library will have to contain all
the function definitions of the library libcrypto.a that it refers
to!).
I'm using the "ar" command to create the library libCommunication.a.
Thank you for your help.



Relevant Pages

  • Re: Significant Pure Assembler Application In MASM ?
    ... When I was thinking of a literal "port" of RosAsm for LuxAsm, I was quite daunted by this!!! ... I was seeing a lot of APIs that, I'm not sure what they do, but I don't think there's a Linux equivalent. ... I was contemplating *avoiding* libraries for LuxAsm, ... If GTK is a "replacement od the Win Api", ...
    (alt.lang.asm)
  • [opensuse] Re: Manual dist upgrade procedure(s) & tools/progs/aids?
    ... and the older software needs the old libraries. ... 88 SuSE Linux 9.3 ... information on disk is stored in groupings. ... name to an inode, you can delete the first name and the information ...
    (SuSE)
  • Re: The Lib debate
    ... > I guess you only know Linux from hearing it in the newspapers commercials paid ... It is not a problem for source-level libraries at all. ... I am talking about assembler ... if you use precompiled libraries written on HLL? ...
    (alt.lang.asm)
  • Re: Learning C and Learning Make/Configure/Building/Linking
    ... I have found C programs that almost work and Java ... same on both Windows and Linux. ... binaries for Linux or find a way to make sure I can keep the libraries it ... I think my best bet is static binaries. ...
    (comp.lang.c)
  • Announcement
    ... Focus of site is: Linux assembly programming ... Libraries state description ... file_info stable file status and permission setting ... All programs are written in assembler using nasm. ...
    (comp.lang.asm.x86)