[Chicken-users] mac os x and cflags

2009-03-25 Thread felix winkelmann
Hi!

Alex reported that architecture-specific compiler options don't seem
to be passed
by csc on Mac OS X. I massages Makefile.macosx a bit, but can not test it
right now (and could only try the default ppc build, anyway). So if a Mac OS
user would try it out, I'd appreciate it (the order in which settings
are overridden
in Makefile. is quite subtle).


cheers,
felix


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] testing release candidate for 4.0.0

2009-03-25 Thread felix winkelmann
Hi!


The current release candidate can be found at:

http://www.call-with-current-continuation.org/chicken-4.0.0.tar.gz

I tested it on several systems (mingw(+msys), linux), but would
appreciate if others could give it a try. Note that some minor
recent trunk changes didn't make it, due to unclear portability.


cheers,
felix


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Re: testing release candidate for 4.0.0

2009-03-25 Thread Aleksej Saushev
  Hello!

felix winkelmann  writes:

> The current release candidate can be found at:
>
> http://www.call-with-current-continuation.org/chicken-4.0.0.tar.gz
>
> I tested it on several systems (mingw(+msys), linux), but would
> appreciate if others could give it a try. Note that some minor
> recent trunk changes didn't make it, due to unclear portability.

NetBSD 5.0_RC2 i386

 import library tests ...
../chicken import-library-test1.scm -output-file a.c -include-path .. 
-emit-import-library foo
gcc a.c -o a.o -c -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -Os 
-fomit-frame-pointer -I.. -I/usr/pkg/include
rm a.c
gcc a.o -o a.out -L.. -L/usr/pkg/lib  -Wl,-R/usr/pkg/lib -lchicken -lm
rm a.o
../chicken foo.import.scm -output-file foo.import.c -dynamic -feature 
chicken-compile-shared -feature chicken-compile-shared -include-path ..
gcc foo.import.c -o foo.import.o -c -fno-strict-aliasing 
-DHAVE_CHICKEN_CONFIG_H -Os -fomit-frame-pointer -fPIC -DPIC -DC_SHARED -fPIC 
-DPIC -DC_SHARED -I.. -I/usr/pkg/include
rm foo.import.c
gcc foo.import.o -o foo.import.so -shared -shared -L.. -L/usr/pkg/lib  
-Wl,-R/usr/pkg/lib -lchicken -lm
rm foo.import.o
../chicken import-library-test2.scm -output-file a.c -include-path ..

Warning: extension `import-library-test1' is currently not installed
gcc a.c -o a.o -c -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -Os 
-fomit-frame-pointer -I.. -I/usr/pkg/include
rm a.c
gcc a.o -o a.out -L.. -L/usr/pkg/lib  -Wl,-R/usr/pkg/lib -lchicken -lm
rm a.o

Error: (import) during expansion of (import ...) - cannot import from undefined 
module: scheme

Call history:

##sys#require   
(module foo (foo xcase) (import (rename scheme 
(case xcase))) (define-syntax foo (syntax-rules () ((_...
(##core#module foo (foo xcase) (import (rename 
scheme (case xcase))) (define-syntax foo (syntax-rule..
(import (rename scheme (case xcase)))   <--
gmake[1]: *** [check] Error 70
gmake[1]: Leaving directory 
`/var/tmp/pkgsrc/wip/chicken-current/work/chicken-4.0.0'



-- 
BECHA...
   CKOPO CE3OH...



___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-25 Thread Ivan Shcheklein
Hi Felix,

MSVC+Cygwin's tools. Build failed since both chichen-defaults and
chicken-config contain something like this:

/backup /bin /cygdrive /cygwin.bat /cygwin.ico /dev /etc /home /lib /proc
/tmp /usr /var generated benchmarks/ html/ scripts/ tests/

Is it expected?

Seems that it's caused by "echo" commands without quotes, like:

echo #define HAVE_INTTYPES_H 0 >>$@

The following works:

echo "#define HAVE_INTTYPES_H 0" >>$@

Ivan Shcheklein

On Wed, Mar 25, 2009 at 6:31 PM, felix winkelmann wrote:

> Hi!
>
>
> The current release candidate can be found at:
>
> http://www.call-with-current-continuation.org/chicken-4.0.0.tar.gz
>
> I tested it on several systems (mingw(+msys), linux), but would
> appreciate if others could give it a try. Note that some minor
> recent trunk changes didn't make it, due to unclear portability.
>
>
> cheers,
> felix
>
>
> ___
> Chicken-users mailing list
> Chicken-users@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/chicken-users
>
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-25 Thread Elf


no.  what happened is that the quoting rules are screwed up.  i forgot to
backport the makefile from 3.  ill do it in a few.

(youre seeing what happens when the 'cat' or 'type' goes horribly wrong. 
note how the slashes go from one side to the other.)


-elf

On Thu, 26 Mar 2009, Ivan Shcheklein wrote:


Hi Felix,

MSVC+Cygwin's tools. Build failed since both chichen-defaults and
chicken-config contain something like this:

/backup /bin /cygdrive /cygwin.bat /cygwin.ico /dev /etc /home /lib /proc
/tmp /usr /var generated benchmarks/ html/ scripts/ tests/

Is it expected?

Seems that it's caused by "echo" commands without quotes, like:

echo #define HAVE_INTTYPES_H 0 >>$@

The following works:

echo "#define HAVE_INTTYPES_H 0" >>$@

Ivan Shcheklein

On Wed, Mar 25, 2009 at 6:31 PM, felix winkelmann wrote:


Hi!


The current release candidate can be found at:

http://www.call-with-current-continuation.org/chicken-4.0.0.tar.gz

I tested it on several systems (mingw(+msys), linux), but would
appreciate if others could give it a try. Note that some minor
recent trunk changes didn't make it, due to unclear portability.


cheers,
felix


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users






___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-25 Thread Mario Domenech Goulart
Hi Felix

On Wed, 25 Mar 2009 16:31:24 +0100 felix winkelmann  wrote:

> The current release candidate can be found at:
>
> http://www.call-with-current-continuation.org/chicken-4.0.0.tar.gz
>
> I tested it on several systems (mingw(+msys), linux), but would
> appreciate if others could give it a try. Note that some minor
> recent trunk changes didn't make it, due to unclear portability.

Great to see this rc for chicken 4.  Thank you.

I could compile and install it and a couple of eggs on Linux PPC:

$ /usr/local/chicken-4.0.0/bin/csi -version

CHICKEN
(c)2008-2009 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.0.0 - SVN rev. 13887
linux-unix-gnu-ppc [ manyargs dload ptables applyhook ]
compiled 2009-03-25 on mandolate (Linux)


Best wishes.
Mario


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] -prologue

2009-03-25 Thread Eduardo Cavazos

Hello,

I just noticed that something like this:

  csc somefile.scm -dynamic -prologue SOME-DIRECTORY

doesn't produce an error. Does it make sense to pass a directory to 
'-prologue'?


Just wondering if maybe 'csc' should print an error in the above case.

Ed


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-25 Thread Taylor Venable
On Wed, Mar 25, 2009 at 04:31:24PM +0100, felix winkelmann wrote:
> I tested it on several systems (mingw(+msys), linux), but would
> appreciate if others could give it a try. Note that some minor
> recent trunk changes didn't make it, due to unclear portability.

On OpenBSD 4.5 x86:

Compiles both from the distributed C files, and also from C files
generated (by Chicken 4) from the Scheme code.

I get the following when running "make fullcheck" --

==

gmake -f ./Makefile.bsd dist
gmake[2]: Entering directory `/home/taylor/Source/Lisp/chicken-4.0.0'
csi -s ./scripts/makedist.scm --platform=bsd CHICKEN=chicken

Error: (open-input-file) cannot open file - No such file or directory: 
"./scripts/makedist.scm"
gmake[2]: *** [dist] Error 70
gmake[2]: Leaving directory `/home/taylor/Source/Lisp/chicken-4.0.0'
gmake[1]: *** [compiler-check] Error 2
gmake[1]: Leaving directory `/home/taylor/Source/Lisp/chicken-4.0.0'
gmake: *** [fullcheck] Error 2

==

When issuing "make check" it runs to completion and appears to be
successful (I notice no failures; but I'd be happy to supply a
transcript if requested).

-- 
Taylor Christopher Venable
http://real.metasyntax.net:2357/


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users