Homebuilt dmd fails to link my dub application
Seb
seb at wilzba.ch
Sun Mar 25 20:35:01 UTC 2018
On Sunday, 25 March 2018 at 20:26:22 UTC, Nordlöw wrote:
> On Sunday, 25 March 2018 at 18:43:09 UTC, Seb wrote:
>> Are you on a 32-bit system?
>> (For 64-bit -fPIC is the default since 2.072.2 - though DMD's
>> build scripts were only updated a few releases later)
>
> No, I have my own build script for dmd, though because I can't
> get Digger to work either.
What error do you get with Digger?
Note that you the version on Dub just has been updated today:
https://github.com/dlang-bots/dlang-bot/pull/194#issuecomment-375993106
For building everything locally, it should be as easy as:
---
git clone https://github.com/dlang/dmd
git clone https://github.com/dlang/druntime
git clone https://github.com/dlang/phobos
cd phobos && make -f posix.mak -j10
---
(dmd + druntime are built automatically from Phobos)
I advise against rolling your own built script and reporting your
issues either here, Slack or IRC.
If we can reproduce your issue, chances are that someone else
will run into them too ;-)
BTW there's also this setup script:
https://github.com/dlang/tools/blob/master/setup.sh
More information about the Digitalmars-d-learn
mailing list