Changeset 12819 in project for chicken/trunk


Ignore:
Timestamp:
12/15/08 08:53:06 (12 years ago)
Author:
felix winkelmann
Message:

build bugfixes (thanks to Wietse Jacobs); added -repository option to setup tools

Location:
chicken/trunk
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • chicken/trunk/Makefile.msvc

    r12789 r12819  
    7272
    7373ifdef DEBUGBUILD
    74 C_COMPILER_OPTIONS = -nologo -MDd -DHAVE_CHICKEN_CONFIG_H
     74C_COMPILER_OPTIONS = -nologo -DHAVE_CHICKEN_CONFIG_H
    7575C_COMPILER_OPTIMIZATION_OPTIONS = -Zi
     76C_COMPILER_SHARED_OPTIONS = -MDd -DPIC
    7677LINKER_OPTIONS += -debug
    7778endif
  • chicken/trunk/chicken-install.1

    r12609 r12819  
    6161may be an svn(1) repository URL, a http URL or a location in the local
    6262file-system.
     63
     64.TP
     65.BI \-r,\ \-repository \ DIRECTORY
     66Specify alternative extension repository directory instead of the
     67default (which is usually "<PREFIX>/lib/chicken/<BINARYVERSION>").
    6368
    6469.TP
  • chicken/trunk/chicken-install.scm

    r12786 r12819  
    6868      "srfi-18.import.so"
    6969      "utils.import.so"
    70       "csi.import.so"))
     70      "csi.import.so"
     71      "compiler.import.so"))
    7172
    7273  (define *program-path*
     
    347348  -i   -init DIRECTORY          initialize empty alternative repository
    348349  -u   -update-db               update export database
     350  -r   -repository DIRECTORY    specify alternative extension repository
    349351EOF
    350352);|
     
    434436                        (set! *password* (cadr args))
    435437                        (loop (cddr args) eggs))
     438                       ((or (string=? arg "-r") (string=? arg "-repository"))
     439                        (if (pair? (cdr args))
     440                            (repository-path (cadr args))
     441                            (usage 1)))
    436442                       ((and (positive? (string-length arg))
    437443                             (char=? #\- (string-ref arg 0)))
     
    460466                       (else (loop (cdr args) (cons arg eggs))))))))))
    461467
     468  (register-feature! 'chicken-install)
     469  (define ##compiler#compiler-macro-environment '()) ; only to make `compiler' import work
     470
    462471  (handle-exceptions ex
    463472      (begin
  • chicken/trunk/chicken-status.1

    r11776 r12819  
    3333.B \-f,\ \-files
    3434Shows files belonging to the matching extension.
     35
     36.TP
     37.BI \-r,\ \-repository \ DIRECTORY
     38Specify alternative extension repository directory instead of the
     39default (which is usually "<PREFIX>/lib/chicken/<BINARYVERSION>").
    3540
    3641
  • chicken/trunk/chicken-status.scm

    r12789 r12819  
    9191  -v   -version                 show version and exit
    9292  -f   -files                   list installed files
     93  -r   -repository DIRECTORY    specify alternative extension repository
    9394EOF
    9495);|
     
    114115                     (set! files #t)
    115116                     (loop (cdr args) pats))
     117                    ((or (string=? arg "-r") (string=? arg "-repository"))
     118                     (if (pair? (cdr args))
     119                         (repository-path (cadr args))
     120                         (usage 1)))
    116121                    ((or (string=? arg "-v") (string=? arg "-version"))
    117122                     (print (chicken-version))
  • chicken/trunk/chicken-uninstall.1

    r11776 r12819  
    3535Do not ask when multiple extensions match the given patterns, delete
    3636whatever matches.
     37
     38.TP
     39.BI \-r,\ \-repository \ DIRECTORY
     40Specify alternative extension repository directory instead of the
     41default (which is usually "<PREFIX>/lib/chicken/<BINARYVERSION>").
    3742
    3843.TP
  • chicken/trunk/chicken-uninstall.scm

    r12786 r12819  
    8181       -force                   don't ask, delete whatever matches
    8282  -s   -sudo                    use sudo(1) for deleting files
     83  -r   -repository DIRECTORY    specify alternative extension repository
    8384EOF
    8485);|
     
    102103                   (set! *force* #t)
    103104                   (loop (cdr args) pats))
     105                  ((or (string=? arg "-r") (string=? arg "-repository"))
     106                   (if (pair? (cdr args))
     107                       (repository-path (cadr args))
     108                       (usage 1)))
    104109                  ((or (string=? arg "-s") (string=? arg "-sudo"))
    105110                   (sudo-install #t)
  • chicken/trunk/chicken.h

    r12700 r12819  
    4040#endif
    4141
    42 #if !defined(__GNUC__) && !defined(__WATCOMC__)
     42#if !defined(__GNUC__)
    4343# if HAVE_ALLOCA_H
    4444#  include <alloca.h>
  • chicken/trunk/compiler.import.scm

    r12813 r12819  
    2525
    2626
     27(if (and (not (memq #:compiling ##sys#features))
     28         (not (memq #:chicken-install ##sys#features)))
     29    (error 'import "`compiler' module only available in compiled code"))
     30
    2731(##sys#register-primitive-module
    2832 'compiler
    29  '()
     33 '(node?
     34   make-node
     35   node-class
     36   node-parameters
     37   node-subexpressions
     38   cdb-get
     39   cdb-put!)
    3040 ##compiler#compiler-macro-environment)
  • chicken/trunk/eval.scm

    r12789 r12819  
    11031103                 p0) ) )
    11041104          (let loop ([paths (##sys#append
    1105                              (if rp (list rp) '())
     1105                             (if rp (list rp) '("."))
    11061106                             (if inc? (##sys#append ##sys#include-pathnames '(".")) '()) ) ] )
    11071107            (and (pair? paths)
  • chicken/trunk/foreign.import.scm

    r12813 r12819  
    2525
    2626
     27(if (and (not (memq #:compiling ##sys#features))
     28         (not (memq #:chicken-install ##sys#features)))
     29    (error 'import "`foreign' module only available in compiled code"))
     30
    2731(##sys#register-primitive-module
    2832 'foreign
  • chicken/trunk/manual/Acknowledgements

    r12789 r12819  
    1919Matthias Heiler, Karl M. Hegbloom, William P. Heinemann, Bill Hoffman,
    2020Bruce Hoult, Hans Huebner, Markus Huelsmann, Goetz Isenmann, Paulo
    21 Jabardo, David Janssens, Christian Jaeger, Dale Jordan, Valentin
    22 Kamyshenko, Daishi Kato, Peter Keller, Brad Kind, Ron Kneusel,
    23 Matthias Koeppe, Krysztof Kowa&#322;czyk, Andre Kuehne, Todd R. Kueny
    24 Sr, Goran Krampe, David Krentzlin, Ben Kurtz, Micky Latowicki, John
    25 Lenz, Kirill Lisovsky, Juergen Lorenz, Kon Lovett, Dennis Marti,
    26 Charles Martin, Bob McIsaac, Alain Mellan, Eric Merrit, Perry Metzger,
    27 Scott G. Miller, Mikael, Bruce Mitchener, Chris Moline, Eric E. Moore,
    28 Julian Morrison, Dan Muresan, Lars Nilsson, Ian Oversby, o.t., Gene
    29 Pavlovsky, Levi Pearson, Nicolas Pelletier, Carlos Pita, Robin Lee
    30 Powell, Pupeno, Davide Puricelli, Doug Quale, Eric Raible, Ivan
    31 Raikov, Joel Reymont, Eric Rochester, Andreas Rottman, David Rush,
    32 Lars Rustemeier, Daniel Sadilek, Oskar Schirmer, Burton Samograd, Reed
    33 Sheridan, Ronald Schroeder, Spencer Schumann, Ivan Shcheklein, Alex
    34 Shinn, Ivan Shmakov, Shmul, Tony Sidaway, Jeffrey B. Siegal, Andrey
    35 Sidorenko, Michele Simionato, Volker Stolz, Jon Strait, Dorai Sitaram,
    36 Robert Skeels, Jason Songhurst, Clifford Stein, Sunnan, Zbigniew
    37 Szadkowski, Rick Taube, Nathan Thern, Mike Thomas, Minh Thu, Christian
    38 Tismer, Andre van Tonder, John Tobey, Henrik Tramberend, Vladimir
    39 Tsichevsky, Neil van Dyke, Sander Vesik, Jaques Vidrine, Panagiotis
    40 Vossos, Shawn Wagner, Peter Wang, Ed Watkeys, Brad Watson, Thomas
    41 Weidner, Goeran Weinholt, Matthew Welland, Drake Wilson, Joerg
    42 Wittenberger, Peter Wright, Mark Wutka, Richard Zidlicky and Houman
    43 Zolfaghari for bug-fixes, tips and suggestions.
     21Jabardo, Wietse Jacobs, David Janssens, Christian Jaeger, Dale Jordan,
     22Valentin Kamyshenko, Daishi Kato, Peter Keller, Brad Kind, Ron
     23Kneusel, Matthias Koeppe, Krysztof Kowa&#322;czyk, Andre Kuehne, Todd
     24R. Kueny Sr, Goran Krampe, David Krentzlin, Ben Kurtz, Micky
     25Latowicki, John Lenz, Kirill Lisovsky, Juergen Lorenz, Kon Lovett,
     26Dennis Marti, Charles Martin, Bob McIsaac, Alain Mellan, Eric Merrit,
     27Perry Metzger, Scott G. Miller, Mikael, Bruce Mitchener, Chris Moline,
     28Eric E. Moore, Julian Morrison, Dan Muresan, Lars Nilsson, Ian
     29Oversby, o.t., Gene Pavlovsky, Levi Pearson, Nicolas Pelletier, Carlos
     30Pita, Robin Lee Powell, Pupeno, Davide Puricelli, Doug Quale, Eric
     31Raible, Ivan Raikov, Joel Reymont, Eric Rochester, Andreas Rottman,
     32David Rush, Lars Rustemeier, Daniel Sadilek, Oskar Schirmer, Burton
     33Samograd, Reed Sheridan, Ronald Schroeder, Spencer Schumann, Ivan
     34Shcheklein, Alex Shinn, Ivan Shmakov, Shmul, Tony Sidaway, Jeffrey
     35B. Siegal, Andrey Sidorenko, Michele Simionato, Volker Stolz, Jon
     36Strait, Dorai Sitaram, Robert Skeels, Jason Songhurst, Clifford Stein,
     37Sunnan, Zbigniew Szadkowski, Rick Taube, Nathan Thern, Mike Thomas,
     38Minh Thu, Christian Tismer, Andre van Tonder, John Tobey, Henrik
     39Tramberend, Vladimir Tsichevsky, Neil van Dyke, Sander Vesik, Jaques
     40Vidrine, Panagiotis Vossos, Shawn Wagner, Peter Wang, Ed Watkeys, Brad
     41Watson, Thomas Weidner, Goeran Weinholt, Matthew Welland, Drake
     42Wilson, Joerg Wittenberger, Peter Wright, Mark Wutka, Richard Zidlicky
     43and Houman Zolfaghari for bug-fixes, tips and suggestions.
    4444
    4545CHICKEN uses the PCRE regular expression package ([[http://www.pcre.org]]),
  • chicken/trunk/rules.make

    r12813 r12819  
    13681368        $(CHICKEN) $< $(CHICKEN_DYNAMIC_OPTIONS) -emit-import-library setup-api \
    13691369          -ignore-repository -output-file $@
    1370 setup-download.c: $(SRCDIR)setup-download.scm
     1370setup-download.c: $(SRCDIR)setup-download.scm setup-api.c
    13711371        $(CHICKEN) $< $(CHICKEN_DYNAMIC_OPTIONS) -emit-import-library setup-download \
    13721372          -ignore-repository -output-file $@
  • chicken/trunk/support.scm

    r12813 r12819  
    14951495          ,(caadr form) (,(r 'lambda) ,(cdadr form) ,@(cddr form))))))
    14961496    (##sys#macro-subset me0)))
     1497
     1498
     1499;;; not qualified, for use in `define-rewrite-rule'
     1500
     1501(define cdb-get get)
     1502(define cdb-put! put!)
Note: See TracChangeset for help on using the changeset viewer.