dmd from git segfaulting when used with wrong version of druntime

Jacob Carlborg doob at me.com
Wed May 9 01:03:42 PDT 2012


On 2012-05-08 22:55, deadalnix wrote:
> Le 08/05/2012 22:36, Walter Bright a écrit :
>> This is a result of fixing the ABI for structs on Linux 64. You'll have
>> to recompile druntime with the new dmd. A recompile of druntime/phobos
>> should be sufficient.
>
> Good news that is fixed !
>
> I already did compile druntime and phobos with he new dmd, but I'm
> failing to use them without f***ing up my system.
>
> Can't I specify druntime and phobos using argument in command line ?

Use can use DVM to compile DMD. It will set up a correctly working 
dmd.conf/sc.ini file.

https://bitbucket.org/doob/dvm

Example of folder structure:

dlang
   |- dmd
   |- druntiem
   |- phobos

In the dlang folder, run:

$ dvm compile .

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list