make losing my PATH

Robert Bresner rbresner@olf.com
Fri Jun 18 15:30:00 GMT 1999


Howdy...

A reiteration of the problem I mentioned earlier --
I'm using GNU Make version 3.76.1, by Richard Stallman and Roland
McGrath.

In my makefile, I have this rule:

	$(DLL_DEF_NAME): $(DEF_SOURCES)
			@echo Making the def file
			echo $(DEF_SOURCES) > temp_file
			$(SYM) -d $(TARGET_NAME).dll -o $(DLL_DEF_NAME) @temp_file
			$(RM) temp_file

The DEF_SOURCES variable == to the pathname of some 116 libraries,
that are simply echo'd into the temp_file. I get this error:
	The input line is too long.

Granted, the value of DEF_SOURCES is well over 3k. 
But, this didn't used to be an issue. This only
recently started happening... and not to 
_everyone_ at my office.

So, I changed the echo > temp_file to a perl script that
creates the temp_file instead, and now that works. But, now
after the perl script (WHich does nothing but create a file 'temp_file'
and print a bunch of filepaths in that file), make is losing
the value of PATH. (And Path, for that matter, as this is happening
on NT4 SP3/4/5)

This is happening in Emacs, and in an NT cmd.exe shell. CygWin's
sh.exe shell.


----------------------------------------
Robert Bresner          rbresner@olf.com
Open Link Financial    516-227-6600 x216
http://www.olf.com/    fax: 516-227-1799
----------------------------------------
Opinions expressed are explicitly my own
"No more talking!  Cerebus has a SWORD!"

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list