Does anyone know how druntime gets built?

AnimusPEXUS animuspexus at protonmail.com
Tue Jun 21 16:27:32 UTC 2022


On Tuesday, 21 June 2022 at 16:19:28 UTC, AnimusPEXUS wrote:
> On Tuesday, 21 June 2022 at 06:27:23 UTC, Walter Bright wrote:
>> There are no instructions for it. Trying the obvious does not 
>> work.
>>
>> https://issues.dlang.org/show_bug.cgi?id=23193
>
> I've wrote some building script to automate dmd and friend 
> (druntime) builds. but I don't know if it's what your looking 
> for https://github.com/AnimusPEXUS/deployD .

oops, looks like this script of mine doesn't actually build 
druntime, but it's builds at my place ok with just `make -f 
posix.mak`

-------------
[animus at animus druntime]$
make -C ../dmd/src -f posix.mak BUILD=release OS=linux MODEL=64
make[1]: Entering directory '/home/animus/dlang/dmd/src'
posix.mak:42: ===== DEPRECATION NOTICE =====
posix.mak:43: ===== DEPRECATION: posix.mak is deprecated. Please 
use src/build.d instead.
posix.mak:44: ==============================
dmd -of../generated/build -g build.d
../generated/build OS="linux" BUILD="release" MODEL="64" 
HOST_DMD="dmd" CXX="c++" AUTO_BOOTSTRAP="" DOCDIR="" STDDOC="" 
DOC_OUTPUT_DIR="" MAKE="make" VERBOSE="" ENABLE_RELEASE="" 
ENABLE_DEBUG="" ENABLE_ASSERTS="" ENABLE_LTO="" 
ENABLE_UNITTEST="" ENABLE_PROFILE="" ENABLE_COVERAGE="" DFLAGS="" 
dmd
(TX) VERSION
(TX) SYSCONFDIR
(DC) COMMON
(TX) DMD_CONF
(DC) BACKEND
(DC) LEXER
(DC) DMD
Success
make[1]: Leaving directory '/home/animus/dlang/dmd/src'
../dmd/generated/linux/release/64/dmd -conf= -c -o- -Isrc 
-Iimport -Hfimport/core/sync/barrier.di src/core/sync/barrier.d
../dmd/generated/linux/release/64/dmd -conf= -c -o- -Isrc 
-Iimport -Hfimport/core/sync/condition.di 
src/core/sync/condition.d
../dmd/generated/linux/release/64/dmd -conf= -c -o- -Isrc 
-Iimport -Hfimport/core/sync/config.di src/core/sync/config.d
../dmd/generated/linux/release/64/dmd -conf= -c -o- -Isrc 
-Iimport -Hfimport/core/sync/exception.di 
src/core/sync/exception.d
../dmd/generated/linux/release/64/dmd -conf= -c -o- -Isrc 
-Iimport -Hfimport/core/sync/mutex.di src/core/sync/mutex.d
../dmd/generated/linux/release/64/dmd -conf= -c -o- -Isrc 
-Iimport -Hfimport/core/sync/rwmutex.di src/core/sync/rwmutex.d
../dmd/generated/linux/release/64/dmd -conf= -c -o- -Isrc 
-Iimport -Hfimport/core/sync/semaphore.di 
src/core/sync/semaphore.d
cc -c -m64 -fPIC -DHAVE_UNISTD_H -O3 src/core/stdc/errno.c 
-ogenerated/linux/release/64/errno_c.o
cc -c -m64 -fPIC -DHAVE_UNISTD_H -O3 src/core/threadasm.S 
-ogenerated/linux/release/64/threadasm.o
../dmd/generated/linux/release/64/dmd -c -fPIC 
-ofgenerated/linux/release/64/libdruntime.so.o -conf=
-------------
and it's exited with 0


More information about the Digitalmars-d mailing list