delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/08/13/20:44:29

Sender: richdawe AT bigfoot DOT com
Message-ID: <37B4B6DC.6EA7F0EF@tudor21.net>
Date: Sat, 14 Aug 1999 01:22:52 +0100
From: Richard Dawe <richdawe AT bigfoot DOT com>
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.10 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: Laurynas Biveinis <lauras AT softhome DOT net>
CC: DJGPP workers <djgpp-workers AT delorie DOT com>
Subject: Re: Useful version of zippo, DJGPP package manager, now out
References: <37AC590D DOT EFCE9328 AT tudor21 DOT net> <37AD8141 DOT 7252BE63 AT softhome DOT net>
Reply-To: djgpp-workers AT delorie DOT com

Hello.

Laurynas Biveinis wrote:
> also rewrote expression
> *p = '\0', ret = mkdir(buf, mode), *p = '/';
> to use ";" instead of ",", because GCC could reorder that
> expression as it likes and that would result in a big bug.

Is this really true? I thought that use of the comma operator only let the
operations occur in the written order.

> Last note - in docs you mentioned that configure script
> not always finds GCC. You seem to be using autoconf 2.12,
> I suggest to update to 2.13 and the problem should vanish.
> Also I added AC_PROG_CC call to configure.in.

FYI using AC_PROG_CC seems to also fix the problem. You then do not have
to use 'export CC=$DJDIR/bin/gcc.exe' for the configure script to find all
the libraries, etc. I haven't tried autoconf 2.13 yet.

I've just updated the zippo home page with fixed binaries and a source
patch for the bugs discovered by Laurynas Biveinis:

http://www.phekda.freeserve.co.uk/richdawe/zippo/

Bye.

- Raw text -


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