<div class="gmail_quote">On Tue, May 25, 2010 at 11:14 AM, Tobias C. Rittweiler <span dir="ltr"><<a href="mailto:tcr@freebits.de">tcr@freebits.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">Juan: Notice how gcc returns -4194303 as exit code.</div></div>
I think we may have talked in the past how to ake the GCC's error<br>
output available to Lisp. Forgot the details.</blockquote></div><div><br></div><div>Hi Tobias, yes indeed I remember this. Unfortunately it is not a problem of making a wrapper for run-program but rather auditing the compiler to force it to actually *use* run-program. The compiler right now relies on sys:system which takes a string, not a list of arguments. Changing this to use run-program is tricky because this string may right now contain arguments in various forms (single/double quotes, spaces, #\\, etc) and I am pretty reluctant to touch it right now -- it will come, eventually, when I factor the code that drives compilation / linking to reuse it in both compilers.</div>
<div><br></div><div>Juanjo</div><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://tream.dreamhosters.com">http://tream.dreamhosters.com</a><br>