Including .so's and .a's in my program

From: Chris Mantoulidis (cmad_x_at_yahoo.com)
Date: 02/29/04


Date: 29 Feb 2004 09:40:50 -0800

I read somewhere that in order to use some header files (that are
available for d/l) I must use either the .so or the .a file. It says
that .so stands for Shared Object file (I knew that) and that .a
stands for Archive file. But how am I supposed to include those files
with my code? I don't think I can link them cuz I think I can only
like object files (.o) but I may be wrong. And which one would you
suggest? .so or .a?

BTW: I'm using GCC 3.3.2 if that's of any help

Thanks in advance,
- cmad



Relevant Pages

  • Re: multifile project
    ... Is the project large enough for multiple header files ... file and compiling a .c file just including the ... in the same object file. ...
    (comp.os.linux.development.system)
  • Re: [PATCH] crc32: remove useless __pure modifier from functions
    ... They're not marked as pure in the header files. ... from the object file or something for this...? ... for my compiler (gcc 4.2) at least. ...
    (Linux-Kernel)
  • Make Depend
    ... "A Makefile rule that typically scans all C/C++ source files in a ... and generates rules that indicate that an object file ... depends on certain header files, and must be recompiled if they are ...
    (freebsd-questions)
  • Re: [PATCH] crc32: remove useless __pure modifier from functions
    ... They're not marked as pure in the header files. ... Does GCC look it up ... from the object file or something for this...? ...
    (Linux-Kernel)