<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>Script running gcc does not come back</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I try to bypass CMake's direct call of gcc, by running a script &quot;compile.sh&quot; instead. The script would allow me to first extend the gcc arguments to my needs and then call gcc.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">After calling &quot;make&quot; everything is built fine, but in the end, the prompt does not come back. I have to press &lt;CTRL-C&gt; to have the shell prompt back.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">What do I do wrong?</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">Background info:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">In CMakeLists.txt I write </FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp; SET( CMAKE_CXX_COMPILER /compile.sh )</FONT>

<BR><FONT SIZE=2 FACE="Arial">instead of</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp; SET( CMAKE_CXX_COMPILER /usr/bin/gcc )</FONT>

<BR><FONT SIZE=2 FACE="Arial">to bypass gcc with a script.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Regards,</FONT>

<BR><FONT SIZE=2 FACE="Arial">Joerg</FONT>
</P>

</BODY>
</HTML>