cvs commit: fptools configure.in acconfig.h fptools/mk config.h.in fptools/libraries/base/Foreign/C Error.hs fptools/libraries/ba se/cbits errno.c fptools/libraries/base/include HsBase.h errUtils.h Date: Wed, 25 Sep 2002 11:25:02 -0400 (EDT)

Simon Marlow simonmar@glass.cse.ogi.edu


simonmar    2002/09/25 08:24:07 PDT
Sender: cvs-fptools-admin@haskell.org
Errors-To: cvs-fptools-admin@haskell.org
X-BeenThere: cvs-fptools@haskell.org
X-Mailman-Version: 2.0.8
Precedence: bulk
List-Help: <mailto:cvs-fptools-request@haskell.org?subject=help>
List-Post: <mailto:cvs-fptools@haskell.org>
List-Subscribe: <http://www.haskell.org/mailman/listinfo/cvs-fptools>,
	<mailto:cvs-fptools-request@haskell.org?subject=subscribe>
List-Id: fptools CVS commit messages <cvs-fptools.haskell.org>
List-Unsubscribe: <http://www.haskell.org/mailman/listinfo/cvs-fptools>,
	<mailto:cvs-fptools-request@haskell.org?subject=unsubscribe>
List-Archive: <http://www.haskell.org/pipermail/cvs-fptools/>
Date: Wed, 25 Sep 2002 08:24:07 -0700

  Modified files:
    .                    configure.in acconfig.h 
    mk                   config.h.in 
    libraries/base/Foreign/C Error.hs 
    libraries/base/cbits errno.c 
    libraries/base/include HsBase.h 
  Removed files:
    libraries/base/include errUtils.h 
  Log:
  Re-instate the checking for the values of errno constants at configure
  time.  The problem with doing it using foreign calls is simply that
  this tickles a bad case in the code gen machinery, which in this case
  results in an extra 10-20k of goop ending up in pretty much every
  binary, and it impacts GC performance too.
  
  This has some portability implications, but the situation is no worse
  than before.  To reliably cross-compile for a new platform you need to
  build a set of .hc files for the libraries using a config.h generated on
  the *target* machine.  (at some point we'll formalise the
  cross-compilation story, but that's another thing on the todo list...)
  
  Revision  Changes    Path
  1.170     +2 -0      fptools/configure.in
  1.35      +309 -3    fptools/acconfig.h
  1.57      +294 -0    fptools/mk/config.h.in
  1.12      +98 -201   fptools/libraries/base/Foreign/C/Error.hs
  1.5       +1 -595    fptools/libraries/base/cbits/errno.c
  1.14      +1 -2      fptools/libraries/base/include/HsBase.h
_______________________________________________
Cvs-fptools mailing list
Cvs-fptools@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-fptools