RFC: Pay-as-you-go, Portable D Runtime for Microcontrollers (and maybe more)

Dan Olson via Digitalmars-d digitalmars-d at puremagic.com
Thu May 7 00:00:58 PDT 2015


"Mike" <none at none.com> writes:
> I've gotten even further thanks to everyone's help, but LDC is still
> giving me a little grief.  Take a look at these undefined references
> (abbreviated for this forum):
>
> (_D10TypeInfo_l6__vtblZ+0x8): undef ref
> `_D6object8TypeInfo8toStringMxFNaNbNfZAya'

-- snip --

> Are there any compiler flags I can add to help trim the fat?

Mike, try creating an empty ldc2.conf file where you compile from (I
just tried so it should work). That will override the one that came with
your ldc2 installation that has searches the real druntime/phobos before
your versions. It looks like there will be an option -conf with 0.16.0
to override the default conf file.

https://github.com/ldc-developers/ldc/issues/879

You can put -v on your command ldc2 command line to see where it is
picking up files.


More information about the Digitalmars-d mailing list