Separating ddmd

ANtlord via Digitalmars-d digitalmars-d at puremagic.com
Wed Nov 9 00:50:25 PST 2016


On Tuesday, 8 November 2016 at 05:23:55 UTC, Johan Engelen wrote:
>
> You should compile with `-d-version=IN_LLVM`. The front-end 
> code still has some backend specific stuff in it that is 
> versioned-out when IN_LLVM is set.
>
> -Johan

I've added it. Later compiler has shows a lot of warnings and one 
error.
>source/ddmd/dinifile.d(100): Error: need -Jpath switch to import 
>text file SYSCONFDIR.imp
I've solved this error by addition the option
>-J=/media/storage/develop/dspace/test/source/ddmd/
There is file SYSCONFDIR.imp. Now it shows my only a lot of 
warnings and doesn't build project. This is output of build 
http://vpaste.net/k2Y1U

Should I fix this warning for successful build or does compiler 
get another errors but they are not in output? If compiler has 
errors how can I see them? I added flag '-wi', but it shows this 
http://vpaste.net/OsjUs.

I build project by dub with flag --compiler=ldc2. There is 
dub.json http://vpaste.net/85VnL

Also if it makes sense I've installed ldc to custom directory 
/media/storage/Apps/ldc


More information about the Digitalmars-d mailing list