delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/11/14/00:51:39

From: time AT ice DOT com (Tim Endres)
Subject: Q: Errors involving End Of Data (<<EOF) constructs
14 Nov 1996 00:51:39 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <01BBD1C9.D1079F70.cygnus.gnu-win32@pc.ice.com>
Mime-Version: 1.0
Original-To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

When I try to build less-290, and I run configure, I get repeated =
complaints about a file not being found (./configure: 12780516: No such =
file or directory).

I have tracked this down to the use of the inline data construct to cat =
small
C programs into files to be compiled on the fly. This looks something =
like
the following:

cat > file.c <<EOF
int
main( int argc, char *argv )
	{
	return 0;
	}
EOF

When the shell script hits this line it gives the complaint about not =
being able to find the file in question (a name that looks like its a =
number).

The cygnus site shows that someone has successfully compiled less-290, =
so someone must have run into this?

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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