guide for building DMD/Phobos from SVN (on Linux)?
Graham Fawcett
fawcett at uwindsor.ca
Thu Jun 24 12:49:10 PDT 2010
Hi Sean,
On Thu, 24 Jun 2010 15:13:38 -0400, Sean Kelly wrote:
> Here's the druntime one:
>
>
> #!/bin/bash
> sudo rm -f /usr/local/include/d/object.* sudo rm -fr
> /usr/local/include/d/core pushd ./trunk
> make -fposix.mak
> popd
> sudo mkdir -p /usr/local/include/d/core sudo cp -f
> ./trunk/import/object.* /usr/local/include/d/. sudo cp -fr
> ./trunk/import/core/* /usr/local/include/d/core/. sudo cp -f
> ./trunk/lib/libdruntime.a /usr/local/lib/.
>
>
> And here's the phobos one:
>
>
> #!/bin/bash
> sudo rm -fr /usr/local/include/d/std
> sudo rm -fr /usr/local/include/d/etc
> pushd ./trunk/phobos
> make -flinux.mak DRUNTIME_PATH=/usr/local sudo rm -f
> /usr/local/lib/libphobos2.a popd
> sudo mkdir /usr/local/include/d/std
> sudo mkdir /usr/local/include/d/etc
> sudo cp -fr ./trunk/phobos/std/* /usr/local/include/d/std/. sudo cp -fr
> ./trunk/phobos/etc/* /usr/local/include/d/etc/. sudo cp -f
> ./trunk/phobos/generated/posix/release/libphobos2.a /usr/local/lib/.
>
>
> My dmd.conf looks like so:
>
>
> [Environment]
> DFLAGS=-I/usr/local/include/d -L-L/usr/local/lib
>
Thank you! I haven't figured out what I was doing wrong yet, but using
your build-scripts did the trick: my -unittest error is no more.
Much appreciated!
Graham
More information about the Digitalmars-d
mailing list