Can the runtime be disabled in GDC?

Mike none at none.com
Sun Dec 1 00:21:32 PST 2013


I finally got a GDC cross-compiler compiled, and I'm currently 
trying to test it.  My simple "hello world" program does not use 
any D runtime features, and I was able to compile it with LDC 
-noruntime -nodefaultlib.

However, when I try to use GDC, I get...

"cannot find source code for runtime library file 'object.d'"

Are there similar options in GDC to disable the D runtime, or 
will I have to write stubs?

And, does GDC have any D-specific options?

Thanks,
Mike


More information about the D.gnu mailing list