Re: "External" object files

From: Matt Palmer (mjp16_at_hezmatt.org)
Date: 06/18/04


Date: 19 Jun 2004 00:20:40 +0950

Doru-Catalin Togea is of the opinion:
> Is it possible to somehow link against webcam.o and make use of the
> functionality of that object file?
>
> Generalizing, this is a question of linking from "external" object files
> too. How do I do that?

Yes. Just give the name of the object file you wish to link to in your
linker command line, like any other library.

- Matt



Relevant Pages

  • Re: "External" object files
    ... > xawtv code. ... > There is also a .../webcam.o file from the compilation of xawtv. ... > Is it possible to somehow link against webcam.o and make use of the ... Just like any other object file -- pass it as an argument to the link ...
    (comp.os.linux.development.apps)
  • Re: [opensuse] Assembly Language program
    ... someone wanted a DOS utility that would just return an error code and do ... functionality in a separate C file, the size of the resulting object file ... would be more indicative - the trick would be either to compile main ...
    (SuSE)