search for: libruntim

Displaying 4 results from an estimated 4 matches for "libruntim".

Did you mean: libruntime
2016 Mar 19
2
Need help with code generation
If you plan on calling C runtime library functions, you probably want to do what I did: Cheat, and make a libruntime.a (with C functions to do stuff your compiler can't do natively) and then link that using clang or gcc. https://github.com/Leporacanthicus/lacsap/blob/master/binary.cpp#L124 At some point, I plan to replace my runtime library with native Pascal code, at which point I will be able to generate...
2011 Apr 07
1
[LLVMdev] More DWARF problems
On Apr 7, 2011, at 12:14 PM, Talin wrote: > > OK I've been checking this out some more, and the DIEs don't look valid to me. Take a look at this output from dwarfdump -v: > > 0x000000c7: TAG_subprogram [3] > 0x000000c8: AT_name( .debug_str[0x000001bd] = "construct" ) > 0x000000cc: AT_MIPS_linkage_name( .debug_str[0x000001c7] =
2016 Mar 20
2
Need help with code generation
...> >>> > >>> On Mar 19, 2016, at 9:58 PM, mats petersson <mats at planetcatfish.com> > wrote: > >>> > >>>> If you plan on calling C runtime library functions, you probably want > to do what I did: > >>>> Cheat, and make a libruntime.a (with C functions to do stuff your > compiler can't do natively) and then link that using clang or gcc. > >>>> > >>>> https://github.com/Leporacanthicus/lacsap/blob/master/binary.cpp#L124 > >>>> > >>>> At some point, I plan to re...
2016 Mar 19
3
Need help with code generation
I'd like to make my compiler independent, just like Clang. Doesn't Clang call llc and then system's ld by itself? I don't want my compiler to depend by any other program. I guess there will be a class in the llvm library that generates the object files based on the system's triple and data layout, and then call the system's ld? > On Mar 19, 2016, at 11:48 AM, Bruce