[Top][All Lists]

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

Re: Pretest

From: Chong Yidong
Subject: Re: Pretest
Date: Mon, 30 Oct 2006 09:12:48 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux)

"Alfred M. Szmidt" <address@hidden> writes:

>    I'm guessing you're passing an LDFLAGS envvar to configure.  Seems
>    like LDFLAGS isn't getting passed to X11_LDFLAGS.
> I'm not passing any flags to configure, it is a simple `./configure &&
> make' deal.

Then how did configure know to use -L/usr/pkg/lib and -L/usr/local/lib
in the excerpt you sent earlier?

  configure:12671: gcc -o conftest -I/usr/X11R6/include -g -O2
  -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/pkg/include
  -I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib
  -Wl,-znocombreloc -L/usr/X11R6/lib conftest.c -ltiff -ljpeg -lz -lm
  -lXext -lXmu -lXt -lSM -lICE -lX11 >&5 -Z

In contrast, I have

  configure:12672: gcc -o conftest -g -O2 -Wno-pointer-sign
  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
  -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_BSD_SOURCE
  -Wl,-znocombreloc -L/usr/X11R6/lib conftest.c -ltiff -ljpeg -lz -lm
  -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
  -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi
  -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0
  -lgmodule-2.0 -ldl -lglib-2.0 -lX11 >&5

where only -L/usr/X11R6/lib is used.  What is the value of LDFLAGS in
your default shell?

reply via email to

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