RScheme 
Author Message
 RScheme

Anyone managed to compile RScheme on Linux? I use gcc-2.7.0 and
gcc-2.7.2 on SunOs and Linux and get following error when I
try to compile rs-0.5.4 to bootstrap rs-0.6:

cd /usr/src/rs-0.5/
make
make rs "SUBPROJ= bci/bci.o ui_stdio/ui_stdio.o runtim/runtim.o
hasht/hasht.o heapi/heapi.o rdln_gnu/rdln_gnu.o
oslib_m/oslib_m.o usrlib_m/usrlib_m.o bltin_m/bltin_m.o
scmio_m/scmio_m.o repl_m/repl_m.o tables_m/tables_m.o
rtgc/rtgc.o" \
"CFLAGS0=-DUSE_HW_REGS -DSTACK_CACHE -O2 \
 -DRECORD_CALL_CHAIN -DNDEBUG -DINLINES"
make[1]: Entering directory `/usr/src/rs-0.5'
bci::
make[2]: Entering directory `/usr/src/rs-0.5/bci'
  bcinterp
In file included from ../runtim/obj.h:13,
                 from ../runtim/runtim.h:8,
                 from bcinterp.c:5:
../platform.h:37: semicolon missing after enum declaration
bcfrags.ci: In function `void * (* bci_1())()':
In file included from bcinterp.c:340:
bcfrags.ci:1624: warning: converting `const char *' to `char *'
is a contravariance violation
bcfrags.ci:1624: warning: assignment to `char *' from `const
char *' discards const
make[2]: *** [bcinterp.o] Error 1
make[2]: Leaving directory `/usr/src/rs-0.5/bci'
make[1]: *** [bci/bci.o] Error 2
make[1]: Leaving directory `/usr/src/rs-0.5'
make: *** [medium] Error 2

Compilation exited abnormally with code 2 at Sat Apr  6 01:36:08

May be someone has rs-0.5 compiled for Linux or SunOS so that I
can bootsrap rs-0.6?

Thanx.



Wed, 23 Sep 1998 03:00:00 GMT  
 RScheme
RScheme runs under Linux just fine, but there was a minor goof in the
configure script that reversed the endianness.

This is fixed in the current development build and will be in the next
release.  (It may be in the current ftp'able one;  I'm not sure.)


--

| Papers on memory allocators, garbage collection, memory hierarchies,
| persistence and  Scheme interpreters and compilers available via ftp from
| ftp.cs.utexas.edu, in pub/garbage (or http://www.cs.utexas.edu/users/wilson/)      



Thu, 24 Sep 1998 04:00:00 GMT  
 RScheme

    Anyone managed to compile RScheme on Linux? I use
    gcc-2.7.0 and gcc-2.7.2 on SunOs and Linux and get
    following error when I try to compile rs-0.5.4 to
    bootstrap rs-0.6:

platform.h contains the following line:

typedef enum { NO = 0, YES = !NO } bool;

bool is a keyword in your version of g++. As a work-around, replace
that line with:

#define NO false
#define YES true

Good luck!

Anthony
--
Anthony Green                                                 Cygnus Support
                                                   Mountain View, California



Fri, 25 Sep 1998 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Talking about RSCHEME

2. Rscheme on Mac?

3. doc for rscheme compiler?

4. status of stalin, rscheme?

5. RScheme

6. RScheme?

7. First public release of RScheme

8. RScheme: How to resolve filenames wrt working directory?

9. Rscheme question

10. using rscheme and dynamic libraries?

11. What's up with www.rscheme.org?

12. multiple values in RScheme

 

 
Powered by phpBB® Forum Software