Jose Antonio Garcia Peiro <jgpe...@gmail.com> writes:

| Hi
| My problem is more simple. I only need a step-by-step guide to convert a 
simple
| lisp program to a C equivalent program with GCL. The progran can be:
| (defun factorial (n)
|    (if (<= n 1)
|       1
|       (* n (factorial (- n 1)))))
| When GCL generates C code I can read, study and if need, modify.
| 
| | I think part of his problem is that he is using a cross build platform that
| | provides only a C++ compiler (from CodeSourcery)
| 
| I use Codesourcery, but it provides a C and C++ compilers ( arm-none-eabi-gcc
| and arm-none-eabi-g++ )

I stand corrected!  If you have the C compiler available, please by all
means, use `arm-none-eabi-gcc' to configure GCL.

-- Gaby

_______________________________________________
Gcl-devel mailing list
Gcl-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/gcl-devel

Reply via email to