|
From: | Robert Martin |
Subject: | Problem Report |
Date: | Mon, 8 Oct 2001 11:33:53 -0500 |
Problem:
gmake clobbers environment variable named 'LIBPATH'
on AIX.
Description:
While installing and testing a temporary fix for
IBM's Visual Age C++ compiler, we discovered that an environment variable named
'LIBPATH', which was essential to the compiler fix, was apparently being unset
during the build process. I found a
couple of (old) references to this behavior via google groups. Per one of
the suggestions, I wrote a simple test program that behaves correctly with
respect to an environment variable named 'LIBPATH'.
We obtained the gmake
package directly from IBM with the AIX host and software.
Additional information follows the
signature.
Thanks!
Rob
Robert Martin
Senior Software Engineer
Object Computing, Inc. (314) 579-0066 x217 -----------------------------------
example Makefile:
$ cat Makefile
all:
@echo "LIBPATH=" $(LIBPATH) @echo "FOOPATH=" $(FOOPATH) $
-----------------------------------
example run:
$ LIBPATH=/tmp FOOPATH=/tmp
gmake
LIBPATH= FOOPATH= /tmp $ -----------------------------------
gmake Version:
$ gmake --version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. Built for powerpc-ibm-aix4.3.0.0 Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ----------------------------------- Host environment:
RS6000 AIX, version 5.1 |
[Prev in Thread] | Current Thread | [Next in Thread] |