BLT (make static): SOLVED

From: Chet Murthy <murthy_at_CS.Cornell.EDU>
Date: Tue, 07 Feb 1995 15:41:45 -0500

I solved my "make static" problem -- I needed to add a primitive,
llog10, to number.c and number.h, and this caused the code to be
linked into the running interpreter, so that libblt.a could access it.

I still don't understand what happened, but it seems that libm.a is
not a shared-library on my system, which would explain a lot, I
suppose.

--chet--
P.S. The required modifs are:

(1) number.c:
transcendental(log)
transcendental(log10)
---------------^^^^^---
transcendental(sin)


(2) number.h:
PRIMITIVE llog(SCM z);
PRIMITIVE llog10(SCM z);
----------^^^^^^--------
PRIMITIVE lsin(SCM z);


(3) primitives.c:
  {"log", tc_subr_1, llog},
  {"log10", tc_subr_1, llog10},
---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---
  {"sin", tc_subr_1, lsin},
Received on Tue Feb 07 1995 - 21:43:09 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST