<DIV>Thanks !!</DIV>
<DIV>:-)<BR><BR><B><I>Chris Lattner <sabre@nondot.org></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On Sun, 27 Feb 2005, Tanu Sharma wrote:<BR>> Thanks for replying .<BR>> I came across another problem while trying it.<BR>> The following compilation is not working: ( with the native option)<BR>><BR>> llvmgcc x.c -o a.out -Wl,-native<BR>><BR>> I get this error:<BR>><BR>> gccld: a.out.s: Can't destroy file: ut.s<BR>><BR>> How can I fix that ?<BR><BR>This bug has been fixed in CVS, please update your tree.<BR><BR>-Chris<BR><BR><BR>> Andrew Lenharth <ALENHAR2@CS.UIUC.EDU>wrote:<BR>> On Sat, 2005-02-26 at 22:34 -0600, Chris Lattner wrote:<BR>>> On Sat, 26 Feb 2005, Tanu Sharma wrote:<BR>>><BR>>>> Thanks for the reply :-)<BR>>>> I am actually looking for ways to determine "size" of code segment when the program is in native code.<BR>>>> Any suggestions to do that ?<BR>>><BR>>> Compile it wit!
 h llvm to
 a native .o or .exe file, then run 'size' on it?<BR>>><BR>>> E.g.:<BR>>><BR>>> llvm-gcc x.c -o a.out -Wl,-native<BR>>> size ./a.out<BR>><BR>> objdump -h a.out<BR>><BR>> and add the size columns for all sections marked with "CODE"?<BR>><BR>> Andrew Lenharth<BR>><BR>> _______________________________________________<BR>> LLVM Developers mailing list<BR>> LLVMdev@cs.uiuc.edu http://llvm.cs.uiuc.edu<BR>> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev<BR>><BR>><BR>> ---------------------------------<BR>> Do you Yahoo!?<BR>> Yahoo! Mail - now with 250MB free storage. Learn more.<BR><BR>-Chris<BR><BR>-- <BR>http://nondot.org/sabre/<BR>http://llvm.cs.uiuc.edu/<BR><BR>_______________________________________________<BR>LLVM Developers mailing list<BR>LLVMdev@cs.uiuc.edu
 http://llvm.cs.uiuc.edu<BR>http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev<BR></BLOCKQUOTE><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com