my dmd.conf content:
[Environment]
LIB="%@p%/../lib"
INCLUDE="%@P%/../inlcude;%INCLUDE%"
DFLAGS=-I%@P%/../src/phobos -L-L%@P%/../lib
转载:http://www.digitalmars.com/d/archives/13197.html
There are documets on where the different files of an application should be put
in a Linux or Unix system. (Sorry, right now I can't give a pointer. Anybody?)
You might also check the Vim editor sources (www.vim.org), Vim does a good job
of "knowing where it is", among other things.
The volume where the compiler binaries reside might be remotely mounted as
read-only, especially in a corporate setup. Also, it is easier for the sysadmin
to have all system-wide configurations in the same place, i.e. /etc.
Individual users can then override these configurations, e.g. with a $HOME/.dmd
file (or even directory, if the configuration is elaborate -- which probably is
not needed fof dmd.)
One way to resolve the issue is to have the binary look for the config file in
/etc and read it, then to update the parameters reading from the first config
file found in
1. defined on the command line
2. pointed to by the environment variable $DMD_CONFIG, if it is defined
3. current directory (.)
4. home directory ($HOME)
If the user installing DMD is root then this is what sould be set up. On the
other hand, if the installing user is non-root (the user himself), then the
installation should copy a default .dmd file to his home directory. In this case
the .dmd file could contain the path to dmd-home, since the user might have
installed the package in any of various places. (It's not even uncommon to
install in /tmp, for example for temporary needs or to just check something.)
In any case, you probably have to spew a man-file to the man directory, the
libraries to /usr/lib, the binary to /usr/bin, and the config file to /etc, at
the very least.
Sure, it is possible to have the whole DMD-tree in one place. This is OK for a
personal install. But when root installs DMD, then every user should be able to
use DMD, and then a single-hierarchy-install would confuse normal Unix and Linux
people.
分享到:
相关推荐
用于控制sim显微镜中的dmd部分。 此代码可以控制dmd产生规则的图形。以控制显微镜光源形状
编译器源代码之:DMD(D语言)dmd.2.026。vc6编译通过
动态模式分解的matlab 代码,有注释
快照数据的动态模态分解,获得基模态和对应的特征值,包括频率和增长率,以及数据后处理。
Arduino dmd library for matrix display
dmd.js 简单的基于 html 画布的 JavaScript 点阵显示库
D语言是结合了C#、Java和 C++以及PHP、Python等动态语言的特性于一身,且不依赖于虚拟机, 而是作为可执行程序单独来运行的,这样它的效率非常高。
数字微镜DMD编程,包括设置帧频、画面大小和积分时间等参数
Hi3798CV200硬件HDK 海思网络机顶盒方案硬件开发资料 硬件版本号:CV2DMD 包含原理图和PCB(PCB包含PADS和ALLEGRO两个版本)
设置完成后,您可以直接将源文件 (UaParser.d) 包含在您的工作目录中,或者您可以生成一个库并将路径添加到 dmd.conf。 用法 请参考example.d文件。 要运行该示例,请在终端中执行以下命令: rdmd --force example...
NULL 博文链接:https://godspeedhu.iteye.com/blog/423419
Dynamic Mode Decomposition (DMD).zip
D语言编译器DMD 2.065已经发布了,D语言经过近年来的努力终于取得不错的成绩!这个版本包含了大量问题修复和改进,真是值得敬佩
Schematic-FLD3 DMD Board DLP TI
matlab复变函数指数函数代码健壮的DMD在Julia 该存储库包含julia中动态模式分解(DMD)的强大版本的实现。 安装 您可以通过克隆Git存储库来安装此软件包: julia> Pkg.add(url=...
用于了解DMD的文档。 dmd可以用于结构光超分辨显微镜。
3. 支持所有主流DMD. 0.55” XGA, SVGA, 0.7” XGA DDR DMD;支持0.55” 480p, 576p DMD; 4. 全新DMD本征分辨率为4:3的1024 X 768。(注意不同于其他系统的16:9的DMD,与电脑输出图像不是点对点的关系,有压缩或扩大...
DMD2-master_DMD_源码.zip
DMD. The DLPC300 controller also provides a convenient, multi-functional interface between user electronics and the DMD, enabling high-speed pattern rates (up to 4 kHz binary), providing LED control ...
DMD606使用手册pdf,DMD606使用手册