Cross Compiler

Jeroen Bollen jbinero at gmail.com
Mon Mar 3 10:35:48 PST 2014


On Monday, 3 March 2014 at 17:21:50 UTC, Jeroen Bollen wrote:
> On Monday, 3 March 2014 at 16:21:25 UTC, Dicebot wrote:
>>
>> Please be aware of
>> https://d.puremagic.com/issues/show_bug.cgi?id=12268 though
>
> Is any sort of static linkage really necessary though?

Seems like it is, without specifying the libraries I get an error:

app.o: In function `main':
app.d:(.text.main+0x13): undefined reference to `_d_run_main'
app.o:(.text.d_dso_init[.data.d_dso_rec]+0x32): undefined 
reference to `_d_dso_registry'
collect2: error: ld returned 1 exit status


More information about the Digitalmars-d mailing list