liszt compiler destination

Chris Torek chris at umcp-cs.UUCP
Mon Feb 24 07:45:15 AEST 1986


In article <459 at bcsaic.UUCP> michaelm at bcsaic.UUCP writes:

>[There is] a bug in the way the liszt compiler handles path names.
>You can give it a relative path name, but not an absolute path name!
>[...] liszt foo.l /usr2/michaelm/dira/dirb/foo.l
>results in an empty file whose name is "/usr2/michaelm/dira/dirb/fum.o"!
>[...] Where does the assembled output go?

Index: /bin/as	1.4, 2.0

Description:
	The Sun `as' assembler cannot handle an output file pathname
	longer than 32 characters.  What it in fact does is truncate
	the named file to zero length, then put its output in a file
	with the same name but truncated to 32 characters.

	I do not know whether the bug is present in 3.0 or 3.1.

Repeat-By:
	% mkdir bug; cd bug
	% cat >x.s <<end
		.globl	_foo
	_foo:	rts
	end
	% as -o 12345678901234567890123456789012345.o x.s
	% ls -l | sed 's/  */ /g'
	-rw-r--r-- 1 chris 57 Feb 23 16:33 12345678901234567890123456789012
	-rw-r--r-- 1 chris 0 Feb 23 16:33 12345678901234567890123456789012345.o
	-rw-r--r-- 1 chris 23 Feb 23 16:33 x.s
	%
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 1415)
UUCP:	seismo!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris at mimsy.umd.edu



More information about the Comp.unix mailing list