LDC -noruntime

1100110 10equals2 at gmail.com
Fri Jul 6 22:07:30 PDT 2012


Wow, I haven't had that much trouble.  But I've tried to keep everything
at my level.  It's about half xomb. =P

I salute you for your bravery.

I had planned to stay far, far away from as much of that as I could.



On Fri, 06 Jul 2012 22:45:53 -0500, BLM768 <blm768 at gmail.com> wrote:

> On Friday, 6 July 2012 at 21:54:15 UTC, 1100110 wrote:
>> I swear you guys read my mind sometimes...  It's creepy.
>>
>> I just had this very issue, doing the exact same thing, about an hour  
>> ago.
>>
>> Have you tried with -nodefaultlib -noruntime ?  Cause that's what works  
>> for me...
>>
>> I just got *something* to compile with no runtime or std.
>> Whether or not it actually does anything remains to be seen.
>>
>>
>
> No luck; it still references the runtime.
> I've been stubbing out the runtime; it seems to be about done except for  
> references to some functions I can't find. The symbols are __moddi3 and  
> __divdi3; I assume they're C math library functions, as they're  
> generated from code that uses div/mod operations. It also seems to be  
> unable to properly find Object.toString() after I changed it to be  
> nothrow, which I needed to do because I'm stubbing out the exception  
> handling routines; it seems to have changed the mangling. It's a bit of  
> a mess in there; I'm glad I don't always have to hack up the runtime :).
>
>


-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


More information about the Digitalmars-d-learn mailing list