Received: from SOUTH-STATION-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA08852; Sat, 27 Jan 96 18:12:09 EST
Received: from [205.205.49.3] by MIT.EDU with SMTP
	id AA21672; Sat, 27 Jan 96 18:12:02 EST
Received: from coral by amber.hasc.ca (NX5.67d/NX3.0M)
	id AA22074; Sat, 27 Jan 96 18:12:10 -0500
Message-Id: <9601272312.AA22074@amber.hasc.ca>
Received: by coral.hasc.ca (NX5.67e/NX3.0X)
	id AA07992; Sat, 27 Jan 96 18:12:40 -0500
Content-Type: text/plain
Mime-Version: 1.0 (NeXT Mail 3.3 v116.1)
Received: by NeXT.Mailer (1.116.1)
From: Herve Avril <herve@amber.hasc.ca>
Date: Sat, 27 Jan 96 18:12:36 -0500
To: proven@MIT.EDU
Subject: pthreads
Reply-To: herve@amber.hasc.ca

Christopher,

Here are two problems I've encountered.

First in the GNUmakefile (last lines), relative and absolute paths
are given, which is kind of bad if one tries to debug the library
if it has been compiled in a different environment (since the paths
are different, gdb does not find the sources anymore). So here is a
quick hack we've done, it's dirty but it works. Could you please
have a look at 'configure' so as to avoid this type of problem in
the future?


obj/%.o: %.c obj/x
        oldd=`pwd`; cd $(<D); cc -arch m68k $(CFLAGS) -I$$oldd -c $(<F) -o $$oldd/$@

obj/%.o: %.cc obj/x
        oldd=`pwd`; cd $(<D); cc -arch m68k $(CXXFLAGS) -I$$oldd -c $(<F) -o $$oldd/$@

obj/%.o: %.S obj/x
        oldd=`pwd`; cd $(<D); cc -arch m68k $(CFLAGS) -I$$oldd -c $(<F) -o $$oldd/$@


Also, in vfprintf.c, line 733.


/* #if !defined(__alpha__) && !defined(hpux) */
#ifndef 0
        digits = __dtoa(value, mode, ndigits, decpt, &dsgn, &rve);
#else
        { char *ecvt(double,int,int*,int*);


This syntax is incorrect, and it then becomes impossible
to determine if the author intended on the first branch
or the second branch going through. Can you look at it
and tell me which is intended?

Thanks,

- Herve
