[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Chicken-users] Diff file to compile Chicken 4.5.0 on OpenSolaris
From: |
Semih Cemiloglu |
Subject: |
RE: [Chicken-users] Diff file to compile Chicken 4.5.0 on OpenSolaris |
Date: |
Fri, 21 May 2010 10:58:33 +1000 |
Hi Felix,
I also built chicken-4.5.0 on Solaris 10 running on sparc platform with Sun
studio C compiler:
$ uname -a
SunOS oberon 5.10 Generic_141414-08 sun4u sparc SUNW,Sun-Fire-880
$ cc -V
cc: Sun C 5.9 SunOS_sparc Patch 124867-06 2008/06/10
With one minor change on top changes I have submitted: tests/runtests.sh has to
be run via ksh.
You may wish to update wiki's portability page:
chicken.wiki.br/portability
Please note that both Solaris 10 and OpenSolaris (nicknamed Solaris 11) are
available on both Intel (x86) and Sparc architecture. Current "architecture"
field for "OpenSolaris" entry in the portability page might be wrong.
Solaris 10 port of Chicken passes all regression tests except one:
======================================== private repository test ...
../chicken private-repository-test.scm -output-file tmp/xxx.c -include-path ..
cc tmp/xxx.c -o tmp/xxx.o -c -errtags -DHAVE_CHICKEN_CONFIG_H
-DC_ENABLE_PTABLES -xdebugformat=stabs -g -xO3 -DC_PRIVATE_REPOSITORY -I..
-I"/home/semihc/local/chicken-4.5.0/include"
rm tmp/xxx.c
cc tmp/xxx.o -o tmp/xxx -L.. -L"/home/semihc/local/chicken-4.5.0/lib" -lchicken
-lrt -lsocket -lnsl -lm -ldl
rm tmp/xxx.o
Error: assertion failed: (string=? repo dir)
Call history:
private-repository-test.scm:6: repository-path
private-repository-test.scm:6: normalize-pathname
private-repository-test.scm:7: command-line-arguments
private-repository-test.scm:7: normalize-pathname
private-repository-test.scm:9: print
##sys#error <--
Any advice on how to resolve this is much appreciated.
Further, let me know if you wish to obtain binary tarballs of chicken on
Solaris platforms.
Thanks, regards,
Semih Cemiloglu
-----Original Message-----
From: Felix [mailto:address@hidden
Sent: Thursday, 20 May 2010 11:51 PM
To: Semih Cemiloglu
Cc: address@hidden; address@hidden
Subject: Re: [Chicken-users] Diff file to compile Chicken 4.5.0 on OpenSolaris
From: Semih Cemiloglu <address@hidden>
Subject: [Chicken-users] Diff file to compile Chicken 4.5.0 on OpenSolaris
Date: Thu, 20 May 2010 11:38:20 +1000
> Attached is the diff file for the chicken v4.5.0 source tree in
> order to compile it on OpenSolaris (2009.06 x86) with Sun Studio C
> compiler.
Thanks a lot, Semih! Patch is applied in commit
e705943f8adefa9594aa10c31993a8cced517501
(experimental branch).
cheers,
felix