On Thu, Mar 18, 2010 at 7:33 PM, Tobias C. Rittweiler <span dir="ltr"><<a href="mailto:tcr@freebits.de">tcr@freebits.de</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I suggest you look into the ECL source how it spawns the gcc processes,<br>
and try to redirect gcc's output into the Lisp world.<br></blockquote><div><br>One short term goal is to replace all calls to EXT:SYSTEM with calls to EXT:RUN-PROCESS in the compiler. This is tricky because both functions work totally different: one takes a single string, the other one needs a list of strings, each one with an argument for the compiler or linker. Splitting the list has to be done with great care because of potential spaces in arguments, etc, etc. Other than this, it would have the great benefit that we could filter out and pretty-print the C compiler error messages.<br>
<br>Juanjo <br></div></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>