I have no preconceived idea about your problem, however, I will note
that:

Juan Jose Garcia-Ripoll
<juanjose.garciarip...@googlemail.com> writes:

> Since ECL does not really care about the processor type, it is fine
> with it, and just works: it only relies on information provided by the
> compiler, such as type sizes, alignments, and the like, which are
> found at compilation time.

Time of compilation of what?


While for C code, compilation time is a hard boundary, for lisp code it
is less.

------------------------------------------------------------------------
(defvar *int-size* 0)
(defvar *example*  0)
(eval-when (:compile-toplevel)
  (defparameter *example*  42)
  (defparameter *int-size* (c:size-of c:int))) ; or whatever syntax
------------------------------------------------------------------------

(compile-file "example.lisp")
--> #P"example.fas"
    NIL
    NIL

*example*  --> 42
*int-size* --> ?


So it seems to me that ecl could provide the information also at
run-time.

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
A bad day in () is better than a good day in {}.


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to