thBase
所属分类:工具库
开发工具:D
文件大小:0KB
下载次数:0
上传日期:2015-07-23 12:59:29
上 传 者:
sh-1993
说明: 我的D 2.0编程语言的无GC标准库,
(my GC free standard library for the D 2.0 programming language,)
文件列表:
LICENSE_1_0.txt (1338, 2013-10-14)
common.sln (1070, 2013-10-14)
common2010.sln (2920, 2013-10-14)
common2010.suo (82432, 2013-10-14)
lib/ (0, 2013-10-14)
lib/dummy.txt (0, 2013-10-14)
sc.ini (114, 2013-10-14)
src/ (0, 2013-10-14)
src/common.visualdproj (38790, 2013-10-14)
src/commonplugin.visualdproj (14522, 2013-10-14)
src/coretest.d (313, 2013-10-14)
src/test.d (814, 2013-10-14)
src/thBase/ (0, 2013-10-14)
src/thBase/algorithm.d (11585, 2013-10-14)
src/thBase/allocator.d (27225, 2013-10-14)
src/thBase/asserthandler.d (1229, 2013-10-14)
src/thBase/bitstream.d (5850, 2013-10-14)
src/thBase/casts.d (1592, 2013-10-14)
src/thBase/chunkfile.d (15587, 2013-10-14)
src/thBase/constref.d (1442, 2013-10-14)
src/thBase/container/ (0, 2013-10-14)
src/thBase/container/hashmap.d (5937, 2013-10-14)
src/thBase/container/linkedlist.d (5621, 2013-10-14)
src/thBase/container/octree.d (17750, 2013-10-14)
src/thBase/container/queue.d (5261, 2013-10-14)
src/thBase/container/stack.d (3438, 2013-10-14)
src/thBase/container/vector.d (16153, 2013-10-14)
src/thBase/contracts.d (260, 2013-10-14)
src/thBase/conv.d (4646, 2013-10-14)
src/thBase/ctfe.d (559, 2013-10-14)
src/thBase/dds.d (13722, 2013-10-14)
src/thBase/debugconnection.d (11540, 2013-10-14)
src/thBase/devhelper.d (6198, 2013-10-14)
src/thBase/directory.d (5068, 2013-10-14)
src/thBase/enumbitfield.d (3077, 2013-10-14)
src/thBase/error.d (2926, 2013-10-14)
src/thBase/file.d (4495, 2013-10-14)
src/thBase/format.d (20733, 2013-10-14)
src/thBase/io.d (4493, 2013-10-14)
... ...
thBase
======
my GC free standard library for the D 2.0 programming language
* This currently only works with dmd 2.063 and gdc 2.060 on windows
* You will need visual studio 2008 or 2010 and VisualD 0.3.34 ( http://www.dsource.org/projects/visuald ) to compile it.
* You will need my modified versions of druntime and phobos to compile and use this. They are also on my github account
* Make a copy of your dmd2\windows\bin folder to dmd2\windows\bin-nostd
* Copy the sc.ini from thBase into the just created dmd2\windows\bin-nostd folder.
The folder structure should look as follows:
* SomeGroupFolder
* druntime
* phobos
* thBase
To check if you set up everythign correctly up to this point you can run the "Debug" target on the thBase project inside the common.sln or common2010.sln
To use the library in one of your projects you have to specifiy the include path for my modified version of phobos and druntime with:
-I[path to druntime]\import -I[path to phobos]\phobos; -I[path to thBase]\src
Additionally for gdc you need to specify:
-nostdinc
Then you need to link against the modified version of druntime/phobos with
-defaultlib=RELEASE_LIB -debuglib=DEBUG_LIB
possible values for RELEASE_LIB are
dmd x86: phobosnogc.lib
dmd x64: phobosnogc64.lib
gdc x64: phobosnogc64_mingw
possible values for DEBUG_LIB are:
dmd x86: phobosnogcd.lib
dmd x64: phobosnogc64d.lib
gdc x64: phobosnogc64d_mingw
Also you need to specify -version=NOGCSAFE.
And of course link against the correct thBase library:
Release:
dmd x86: thBase.lib
dmd x64: thBase64.lib
gdc x64: thBase64_mingw
Debug:
dmd x86: thBased.lib
dmd x64: thBase64d.lib
gdc x64: thBase64d_mingw
近期下载者:
相关文件:
收藏者: