[LLVMdev] Problem in compilation (native option)
Tanu Sharma
tanusharma_04 at yahoo.com
Mon Feb 28 15:13:13 PST 2005
Thanks !!
:-)
Chris Lattner <sabre at nondot.org> wrote:
On Sun, 27 Feb 2005, Tanu Sharma wrote:
> Thanks for replying .
> I came across another problem while trying it.
> The following compilation is not working: ( with the native option)
>
> llvmgcc x.c -o a.out -Wl,-native
>
> I get this error:
>
> gccld: a.out.s: Can't destroy file: ut.s
>
> How can I fix that ?
This bug has been fixed in CVS, please update your tree.
-Chris
> Andrew Lenharth wrote:
> On Sat, 2005-02-26 at 22:34 -0600, Chris Lattner wrote:
>> On Sat, 26 Feb 2005, Tanu Sharma wrote:
>>
>>> Thanks for the reply :-)
>>> I am actually looking for ways to determine "size" of code segment when the program is in native code.
>>> Any suggestions to do that ?
>>
>> Compile it with llvm to a native .o or .exe file, then run 'size' on it?
>>
>> E.g.:
>>
>> llvm-gcc x.c -o a.out -Wl,-native
>> size ./a.out
>
> objdump -h a.out
>
> and add the size columns for all sections marked with "CODE"?
>
> Andrew Lenharth
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Mail - now with 250MB free storage. Learn more.
-Chris
--
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050228/982be1ed/attachment.html>
More information about the llvm-dev
mailing list