gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] directory/truename transition


From: Camm Maguire
Subject: [Gcl-devel] directory/truename transition
Date: 03 Jul 2007 15:36:41 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!

I am prepared to backport the clisp-style directory/truename behavior,
but this breaks current axiom, and I do not want to leave the project
even temporarily without a gcl to build it.  Please advise.  

2.7.0 (with the commits to go in shortly) appears to build wh-sandbox
    save for this issue.

gcl
GCL (GNU Common Lisp)  2.6.7 CLtL1    Oct 29 2006 02:32:45
Source License: LGPL(gcl,gmp), GPL(unexec,bfd,xgcl)
Binary License:  GPL due to GPL'ed components: (XGCL READLINE BFD UNEXEC)
Modifications of this banner must retain notice of a compatible license
Dedicated to the memory of W. Schelter

Use (help) to get some basic information on how to use GCL.
Temporary directory for compiler files set to /tmp/

>(truename "AHYP.erlib")

#p"/fix/t1/camm/wh-sandbox/src/algebra/AHYP.erlib"

>
GCL_ANSI=t gclcvs
GCL (GNU Common Lisp)  2.7.0 ANSI    Jul  2 2007 22:02:18
Source License: LGPL(gcl,gmp,pargcl), GPL(unexec,bfd,xgcl)
Binary License:  GPL due to GPL'ed components: (XGCL READLINE BFD UNEXEC)
Modifications of this banner must retain notice of a compatible license
Dedicated to the memory of W. Schelter

Use (help) to get some basic information on how to use GCL.

Temporary directory for compiler files set to /tmp/

>(truename "AHYP.erlib")

Error: 
Fast links are on: do (si::use-fast-links nil) for debugging
Signalled by TRUENAME.
Condition in TRUENAME [or a callee]: INTERNAL-SIMPLE-FILE-ERROR: File error on 
#P"AHYP.erlib": File does not exist

Broken at TRUENAME.  Type :H for Help.
 1 (Continue) Return to top level.
>>
clisp
  i i i i i i i       ooooo    o        ooooooo   ooooo   ooooo
  I I I I I I I      8     8   8           8     8     o  8    8
  I  \ `+' /  I      8         8           8     8        8    8
   \  `-+-'  /       8         8           8      ooooo   8oooo
    `-__|__-'        8         8           8           8  8
        |            8     o   8           8     o     8  8
  ------+------       ooooo    8oooooo  ooo8ooo   ooooo   8

Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999-2000
Copyright (c) Sam Steingold, Bruno Haible 2001-2006

[1]> (truename "AHYP.erlib")

*** - TRUENAME: "/fix/t1/camm/wh-sandbox/src/algebra/AHYP.erlib" names a
      directory, not a file
The following restarts are available:
ABORT          :R1      ABORT
Break 1 [2]> 

Take care,


Gabriel Dos Reis <address@hidden> writes:

> On Thu, 24 May 2007, Camm Maguire wrote:
> 
> | Greetings!
> | 
> | Gabriel Dos Reis <address@hidden> writes:
> | 
> | > Camm --
> | > 
> | >   I believe GCL-2.6.8pre is missing the ANSI Lisp function 
> | > 
> | >       ensure-directories-exist
> | > 
> | 
> | among many others, but is in 2.7.0.  Do you need a backport?  It is
> | simple. 
> 
> Yes, I would need a backport to 2.6.8pre.
> For the moment, Axiom.build-improvements (and the next official release
> of Axiom) is still using that version of GCL.
> 
> Mant thanks!
> 
> | > 
> | > As a subsidiary question, how do you delete a directory in ANSI Lisp?
> | 
> | I see no such function in the standard, but am cc'ing Paul Dietz.
> | 
> | I therefore would suggest (system (format nil "rm -rf ~s" x))
> 
> Thanks!
> 
> | Just to repeat, 2.7.0 is moving to the following usage of 'directory
> | akin to clisp unless someone objects:
> | 
> =============================================================================
> | COMPILER>>(directory "/tmp")
> | 
> | NIL
> | COMPILER>>(directory "/tmp/")
> | 
> | (#P"/tmp/")
> | COMPILER>>(directory "/tmp/*")
> | 
> | (#P"/tmp/#gazonk_27762_21.c#" #P"/tmp/#ii#" #P"/tmp/#q.h#")
> | 
> =============================================================================
> 
> This will be helpful.
> 
> Many thanks.
> 
> -- Gaby
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]