delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/01/13:23:16

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <EA539C3FE87FD211AE4E0000F81ADAB73A1792@GANDALF>
From: "Axelsson, Andreas" <axl AT dice DOT se>
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Commandline clipping
Date: Tue, 1 Aug 2000 19:19:07 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

I've got a very long variable in make that I need to feed as parameter to a
program, but the program doesn't receive the whole line, and thus produces
the incorrect output. The command is echoed completely though. The result is
the same in both Win2k and Win95.

# Example makefile:

BIGVAR := lots of text going on forever

target:
	tool.exe ${BIGVAR}

# The commandline is properly echoed when run, but the arguments are not
sent.

target2:
	echo a; tool.exe ${BIGVAR}; echo b

# The whole line is echoed, up to the 'b', but the command 'echo b' is never
executed.

Does anyone know? (I'm running the latest version of cygwin, bash and make,
but it's been like this in all older versions I've tried aswell)

/axl


--
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