v20i103: Perl, a language with features of C/sed/awk/shell/etc, Part20/24

Vernon C. Hoxie vern at zebra.UUCP
Sat Nov 11 19:26:48 AEST 1989


In article <1020 at kosman.UUCP>, kevin at kosman.UUCP (Kevin O'Gorman) writes:
> In article <995 at cgh.UUCP> paul at cgh.UUCP (Paul Homchick) writes:
> >
> >Aha! It's not just me.  Mine failed on test 3 and 4 of op.magic, and on
> >tests 3 through 7 of op.mkdir.  This was with the standard 7300/3B1 cc. 

Mine failed only on test 3 of op.magic and test 3 of op.mkdir.  Does
this mean that it passed test 4..5 of op.magic and 4..7 of op.mkdir?
Or does it stop when it gets a failure?

I also was using the stock cc but I kludged the Makefile to use the
shared library.  By kludge I --

	$(LD) -r $(obj) perl.o $(SHAREDLIB) -o tmp.o 
	$(LD) $(LARGE) $(LDFLAGS) tmp.o $(libs) -o perl
	rm tmp.o

wherever Configure had a $(CC).  This needs an entry:

SHAREDLIB = /lib/crt0s.o /lib/shlib.ifile

earlier in the script.

I also have the 'dirent' package posted a month or so ago.  I have it in
/usr/lib/libdirent.a which I added to the $(libs) list.

When I tried adding $(SHAREDLIB) on the $(LD) line, I got a
zillion 'redefined' error messages.  There must be a more straight
forward way to get as much as is available from the shared lib and 
the rest from libc.a.  When I omitted the reference to libc.a, vsprintf
was left dangling as undefined.

>  Test 3 of op.mkdir failed because PERL is at the mercy of the 
> OS' handling of errors and cannot interpret the error from mkdir.

Can the 'mkdir' from the news kit be included somehow to get this to
work?

Now, what is screwing up op.magic?

vern
-- 
Vernon C. Hoxie		       {ncar,nbires,boulder,isis}!scicom!zebra!vern
3975 W. 29th Ave.					voice: 303-477-1780
Denver, Colo., 80212				  TB+	 uucp: 303-455-2670



More information about the Unix-pc.general mailing list