automake
[Top][All Lists]
Advanced

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

Re: LDFLAGS problem when doing "make distcheck"


From: Stephen Torri
Subject: Re: LDFLAGS problem when doing "make distcheck"
Date: 12 Jul 2002 12:02:35 -0500

On Fri, 2002-07-12 at 11:38, Tom Tromey wrote:
> >>>>> "Stephen" == Stephen Torri <address@hidden> writes:
> 
> Stephen> I have my LDFLAGS variable set for a program as:
> Stephen> address@hidden@/src -lnestORB
> 
> Use -L$(top_builddir)/src instead.
> top_srcdir points to the source tree, not the build tree.
> If the user doesn't configure in srcdir then the library won't be there.

Thanks. I understand the difference now.

> Stephen> "make distcheck" ../../src => (full)
> Stephen> /home/torri/src/nestORB/nestORB-0.51/src
> 
> `distcheck' does a build where srcdir != builddir.  This is done
> precisely to catch problems like the one above.

Right. I use distcheck to make sure I have gotten everything right. I am
just rewriting our Makefile.am to take more advantage of automake
features. Automake is certainly making the creation of Makefiles a whole
lot easier.

Stephen




reply via email to

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