[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] Cross compile

From: Gabriel Dos Reis
Subject: Re: [Gcl-devel] Cross compile
Date: Mon, 18 Oct 2010 11:25:10 -0500

Jose Antonio Garcia Peiro <address@hidden> writes:

| Hi
| My problem is more simple. I only need a step-by-step guide to convert a 
| 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]