Re: LDFLAGS or LD_OPTIONS or LDOPTS

2001-05-29 Thread Paul D. Smith
%% Tim Freedom [EMAIL PROTECTED] writes:

  tf Whenever I download other packages that require XPM, I never have
  tf to explicitly set LDFLAGS (SunOS-5.7); in fvwm is has to be set by
  tf hand.  Why is that ? Why is there a distinction and can't
  tf configure.in (Paul S. :-) be fixed in fvwm ?

Yes, it could be fixed in FVWM's configure.in.  But, it's difficult to
do correctly.

Note that just adding -R with the same path is _not_ always what you
want, if you have a more complex installation.

  tf For instance, xscreensaver-3.32 doesn't require this explicit setting
  tf (www.jwz.org/xscreensaver).

JWZ went to horrific amounts of effort to get xscreensaver's
configure.in to work the way he wanted.

The XEmacs folks also had similar experiences.


I'm hoping that autoconf 2.50, just released, will work better in this
respect (which is where it _should_ be fixed, rather than in each
package's configure.in).  At any rate, we will try to revisit this
problem when we convert to 2.50, if it's still a problem there.

-- 
---
 Paul D. Smith [EMAIL PROTECTED]HASMAT--HA Software Methods  Tools
 Please remain calm...I may be mad, but I am a professional. --Mad Scientist
---
   These are my opinions---Nortel Networks takes no responsibility for them.
--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: LDFLAGS or LD_OPTIONS or LDOPTS

2001-05-28 Thread Dmitry Yu. Bolkhovityanov
On 27 May 01 at 9:21, [EMAIL PROTECTED] wrote:


 Our INSTALL.fvwm file suggests that the user should export LDFLAGS
 on Solaris (for example).  The Solaris man pages for Solaris 2.6 and
 2.8 identify LD_OPTIONS as the right variable.
 HPUX11.11 uses LDOPTS.  AIX 4.3 doesn't seem to have anything.

 Anyone know where LDFLAGS works?

All the following supposes that you refer to Make (is there such a thing
as non-GNU autoconf?).

Well, of course in GNU `Make' it is well documented ;-)

* Solaris 2.5 (uname -sr: SunOS 5.5.1) make(1): mentions $(LDFLAGS) in
all LINK.* rules.

* Digital UNIX (OSF1 V4.0) make(1):
LDFLAGS
For ld flags. Default is null.

* IRIX (IRIX64 6.5) make(1):
LFLAGS= LDFLAGS=
and later
.c:
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $

(what is interesting that it actually places $(LDFLAGS) *at the end* of
commandline:
sky:~% export LDFLAGS=-zzz
sky:~% make -n -f /dev/tty req
req: req.c
Ctrl+D
cc -O -o req req.c -zzz
)

* FreeBSD (very old, FreeBSD 2.2-970625-RELENG): make(1) doesn't mention
LDFLAGS, but it works exactly as specified in IRIX make(1).

* OpenBSD (OpenBSD 2.7) behaves exactly as FreeBSD.

* BSD/OS (BSD/OS 3.1, old -- 1998) doesn't mentions any *FLAGS (except
MAKEFLAGS) in man(1), doesn't seem to honour $LDFLAGS and strings `which
make` shows that the binary doesn't contain any references to it.

   ___
   Dmitry Yu. Bolkhovityanov  |  Novosibirsk, RUSSIA
   phone (383-2)-39-49-56 |  The Budker Institute of Nuclear Physics
  |  Lab. 5-13
--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: LDFLAGS or LD_OPTIONS or LDOPTS

2001-05-28 Thread Dan Espen
Dmitry Yu. Bolkhovityanov [EMAIL PROTECTED] writes:
 On 27 May 01 at 9:21, [EMAIL PROTECTED] wrote:
  Our INSTALL.fvwm file suggests that the user should export LDFLAGS
  on Solaris (for example).  The Solaris man pages for Solaris 2.6 and
  2.8 identify LD_OPTIONS as the right variable.
  HPUX11.11 uses LDOPTS.  AIX 4.3 doesn't seem to have anything.
 
  Anyone know where LDFLAGS works?
 
 All the following supposes that you refer to Make

I feel dumb.  I was looking at ld options.  LDFLAGS seems to be
a standard part of make.

Thanks,
-- 
Dan Espen
444 Hoes Lane  Room RRC 1C-214   E-mail: [EMAIL PROTECTED]
Piscataway, NJ 08854 Phone: (732) 699-5570
--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


Re: LDFLAGS or LD_OPTIONS or LDOPTS

2001-05-28 Thread Paul D. Smith
%% Dan Espen [EMAIL PROTECTED] writes:

  de Our INSTALL.fvwm file suggests that the user should export LDFLAGS
  de on Solaris (for example).  The Solaris man pages for Solaris 2.6 and
  de 2.8 identify LD_OPTIONS as the right variable.
  de HPUX11.11 uses LDOPTS.  AIX 4.3 doesn't seem to have anything.

  de Anyone know where LDFLAGS works?

LDFLAGS is the variable used by the Makefile when invoking the linker.

-- 
---
 Paul D. Smith [EMAIL PROTECTED]HASMAT--HA Software Methods  Tools
 Please remain calm...I may be mad, but I am a professional. --Mad Scientist
---
   These are my opinions---Nortel Networks takes no responsibility for them.
--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]


LDFLAGS or LD_OPTIONS or LDOPTS

2001-05-27 Thread Dan Espen

Our INSTALL.fvwm file suggests that the user should export LDFLAGS
on Solaris (for example).  The Solaris man pages for Solaris 2.6 and
2.8 identify LD_OPTIONS as the right variable.
HPUX11.11 uses LDOPTS.  AIX 4.3 doesn't seem to have anything.

Anyone know where LDFLAGS works?

-- 
Dan Espen
444 Hoes Lane  Room RRC 1C-214 E-mail: [EMAIL PROTECTED]
Piscataway, NJ 08854   Phone: (732) 699-5570
--
Visit the official FVWM web page at URL:http://www.fvwm.org/.
To unsubscribe from the list, send unsubscribe fvwm-workers in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]