[Ecls-list] Release ahead, report problems

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Wed Feb 3 21:17:30 UTC 2010


On Wed, Feb 3, 2010 at 9:43 PM, Juan Jose Garcia-Ripoll <
juanjose.garciaripoll at googlemail.com> wrote:

> - A way to customize *ld-flags*
>

 - ECL now ships with ASDF version 1.596

 - The variables C:*USER-CC-FLAGS* and C:*USER-LD-FLAGS* are lists of
strings
   which can be customized by the user to change the behavior of the C
compiler
   and the linker. Note, however, that the flags that ECL uses may take
   priority.


> (let ((c:*user-ld-flags* '("-lc"))) (compile 'foo '(lambda (x) (+ x x))))

;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
;;; End of Pass 1.
;;; Note: Invoking external command:
;;;   gcc-4.2 "-I/Users/jjgarcia/include/" -I/sw/include -g -O2 -fPIC
-fno-common  -Ddarwin -O -w -c
"/private/var/folders/kU/kUiyJak2GK4YuehJzAcNGU+++TI/-Tmp-/ECL0029MrkTj.c"
-o
"/private/var/folders/kU/kUiyJak2GK4YuehJzAcNGU+++TI/-Tmp-/ECL0029MrkTj.o"
;;; Note: Invoking external command:
;;;   gcc-4.2 -o
"/private/var/folders/kU/kUiyJak2GK4YuehJzAcNGU+++TI/-Tmp-/ECL0029MrkTj.fas"
-L"/Users/jjgarcia/lib/"
"/private/var/folders/kU/kUiyJak2GK4YuehJzAcNGU+++TI/-Tmp-/ECL0029MrkTj.o"
'-lc' -bundle -L/sw/lib -L/sw/lib  -lffi -lecl  -lgmp   -lm
FOO
NIL
NIL
> (foo 2)

4


-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100203/eaf05fe6/attachment.html>


More information about the ecl-devel mailing list