<div dir="ltr"><div>Hi chenwj,<br><br>Thanks! I have tried it, but the generated byte code still uses `llvm.memset`. I guess the flag `-fno-builtin` is not used by DragonEgg, or I missed some other<br></div>configuration parameters.<br>

<div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 9, 2013 at 7:45 PM, ³¯­³¥ô (Wei-Ren Chen) <span dir="ltr"><<a href="mailto:chenwj@iis.sinica.edu.tw" target="_blank">chenwj@iis.sinica.edu.tw</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Tue, Apr 09, 2013 at 04:39:14PM -0700, Jeff Jia wrote:<br>
> Hi,<br>
><br>
> I have been using clang for quite a while, and I can use `clang -fno-builtin<br>
> hello.c` to prevent the generation of llvm built-in functions, such as<br>
> llvm.memset. Recently, I switched to gcc with DragonEgg, since the program to<br>
> be built is originally designed to be compiled with gcc. I searched on the web,<br>
> but did not find any information about how to set DragonEgg parameters. Could<br>
> anyone please give me some help? Thanks in advance!<br>
<br>
</div></div>  Dragonegg is a GCC plugin, I think you can just pass "-fno-builtin"<br>
[1] to gcc. Doesn't it work?<br>
<br>
[1]<br>
<a href="http://gcc.gnu.org/onlinedocs/gcc-4.8.0/gcc/Option-Summary.html#Option-Summary" target="_blank">http://gcc.gnu.org/onlinedocs/gcc-4.8.0/gcc/Option-Summary.html#Option-Summary</a><br>
<br>
Regards,<br>
chenwj<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Wei-Ren Chen (³¯­³¥ô)<br>
Computer Systems Lab, Institute of Information Science,<br>
Academia Sinica, Taiwan (R.O.C.)<br>
Tel:886-2-2788-3799 #1667<br>
Homepage: <a href="http://people.cs.nctu.edu.tw/~chenwj" target="_blank">http://people.cs.nctu.edu.tw/~chenwj</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div>Jeff Jia<br></div><div><br></div></div>
</div></div></div>