delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/06/18/18:31:36

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <376AC817.4D31CCD8@olf.com>
Date: Fri, 18 Jun 1999 18:28:39 -0400
From: "Robert Bresner" <rbresner AT olf DOT com>
X-Mailer: Mozilla 4.51 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin <cygwin AT sourceware DOT cygnus DOT com>
Subject: make losing my PATH

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 AT olf DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019