[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disabling linking

From: Stephen Torri
Subject: Re: Disabling linking
Date: 07 Oct 2002 21:27:25 -0500

On Mon, 2002-10-07 at 21:11, Tom Tromey wrote:
> >>>>> "Stephen" == Stephen Torri <address@hidden> writes:
> Stephen> In part of a project we generate code from an IDL
> Stephen> compiler. All we want to do is ensure that the files compile
> Stephen> but we do not want to link everything together to create an
> Stephen> executable. Is it possible to stop automake from invoking the
> Stephen> linker for just one directory?
> Not cleanly.
> You could specify the _LINK variable to be `true' or something like
> that.  That would prevent linking.  You might have to add a `.PHONY:
> programname' for it to make sense though.

The end result was to change the target name from a binary program to a
library. By renaming the file from target to and changing
bin_PROGRAMS to noinst_LIBRARIES I was able to get the IDL generated
client files compiled without linking into other libraries.


Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

[Prev in Thread] Current Thread [Next in Thread]