On Wed, Feb 3, 2010 at 9:43 PM, Juan Jose Garcia-Ripoll <span dir="ltr"><<a href="mailto:juanjose.garciaripoll@googlemail.com">juanjose.garciaripoll@googlemail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>- A way to customize *ld-flags*</div></blockquote><div><br></div></div><div> - ECL now ships with ASDF version 1.596</div><div><br></div><div> - The variables C:*USER-CC-FLAGS* and C:*USER-LD-FLAGS* are lists of strings</div>
<div> which can be customized by the user to change the behavior of the C compiler</div><div> and the linker. Note, however, that the flags that ECL uses may take</div><div> priority.</div><div><br></div><div><br></div>
<div>> (let ((c:*user-ld-flags* '("-lc"))) (compile 'foo '(lambda (x) (+ x x))))</div><div><br></div><div>;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0</div><div>;;; End of Pass 1.</div>
<div>;;; Note: Invoking external command:</div><div>;;; 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"</div>
<div>;;; Note: Invoking external command:</div><div>;;; 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 </div>
<div>FOO</div><div>NIL</div><div>NIL</div><div>> (foo 2)</div><div><br></div><div>4</div><div><br></div><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com">http://juanjose.garciaripoll.googlepages.com</a><br>