%% Charlie Zender <[EMAIL PROTECTED]> writes:
cz> Following is a three line Makefile which is processed differently
cz> by GNU make version 3.79.1 on GNU/Linux vs. IRIX systems. I'm
cz> pretty sure, but not positive, that the linux behavior is correct,
cz> but make syntax is so bizarre maybe there's something I don't
cz> understand.
Seems straightforward to me, at least in this case...
cz> Here's the Makefile.tst, then the results on GNU/Linux then on IRIX:
cz> HOME := ${HOME}_plus_foo_set_in_Makefile
cz> tst:
cz> @printf "HOME = ${HOME}\n"
cz> zender@lanina:~/mk$ uname
cz> Linux
cz> zender@lanina:~/mk$ echo $HOME
cz> /home/zender
cz> zender@lanina:~/mk$ make -f Makefile.tst
cz> HOME = /home/zender_plus_foo_set_in_Makefile
This is right, of course.
cz> zender@krein:~/mk$ uname
cz> IRIX64
cz> zender@krein:~/mk$ echo $HOME
cz> /home/ess/zender/zender
cz> zender@krein:~/mk$ make -f Makefile.tst
cz> HOME = /home/ess/zender/zender
This is "wrong", of course.
cz> As you can see, the IRIX version of gmake does not modify the
cz> $HOME environment variable at all. This is a big problem for me.
cz> Is there a known workaround for IRIX? Can others duplicate this
cz> problem?
I don't have an Irix system nor have I received any reports like this.
It looks to me like the Irix version thinks you have the make -e
command-line option set. Are you sure you haven't set MAKEFLAGS to -e
in your Irix login environment or something similar to that?
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make