当前位置:网站首页>d. LDC build shared library
d. LDC build shared library
2022-07-03 01:18:00 【fqbqrr】
module dimedll;
export void testFunc() {
// Just use `-fvisibility=hidden` Compile time , need export
import std.stdio;
writeln("This is from dll");
}
use ldc2 -shared dimedll.d Generate lib/dll.
import dimedll : testFunc;
pragma(lib, "dimedll");
void main() {
import std.stdio;
writeln(" structure ime");
testFunc();
}
use ldc2 -link-defaultlib-shared dime.d Generative band dimedll.dll Of exePosix The difference is , Not with pragma(lib), Do you want us to use -L-ldimedll Link to libdimedll.{so,dylib}.
边栏推荐
- JDBC courses
- (C language) data storage
- [自我管理]时间、精力与习惯管理
- R language ggplot2 visualization: use ggplot2 to display dataframe data that are all classified variables in the form of thermal diagram, and customize the legend color legend of factor
- Win10 can't be installed in many ways Problems with NET3.5
- Daily topic: movement of haystack
- SwiftUI 组件大全之使用 SceneKit 和 SwiftUI 构建交互式 3D 饼图(教程含源码)
- [day 29] given an integer, please find its factor number
- Leetcode 6103 - minimum fraction to delete an edge from the tree
- Database SQL language 01 where condition
猜你喜欢

强化学习 Q-learning 实例详解
![[love crash] neglected details of gibaro](/img/d6/baa4b5185ddaf88f3df71a94a87ee2.jpg)
[love crash] neglected details of gibaro
![[C language] branch and loop statements (Part 1)](/img/47/6efcc59bd26e26f66c698635c26c8b.png)
[C language] branch and loop statements (Part 1)

【C语言】分支和循环语句(上)

Excel removes the data after the decimal point and rounds the number

Database SQL language 01 where condition

ROS2之ESP32简单速度消息测试(极限频率)
![leetcode:871. Minimum refueling times [Pat has done before + maximum stacking + greed]](/img/2c/8ec3926243fac8db9ed45d8053f3af.png)
leetcode:871. Minimum refueling times [Pat has done before + maximum stacking + greed]

Foundations of data science is free to download

Excel calculates the difference between time and date and converts it into minutes
随机推荐
R language ggplot2 visual faceting, visual facet_wrap bar plot, using strip Text function customize the size of the strip of each facet title in the facet graph (cutimi
按鍵精靈打怪學習-多線程後臺坐標識別
465. DFS backtracking of optimal bill balance
Rk3568 development board evaluation (II): development environment construction
【FPGA教程案例6】基于vivado核的双口RAM设计与实现
Database SQL language 02 connection query
The arm core board / development board of Feiling equipped with Ti am62x made its debut in embedded world 2022
SwiftUI 组件大全之使用 SceneKit 和 SwiftUI 构建交互式 3D 饼图(教程含源码)
Detailed explanation of Q-learning examples of reinforcement learning
The industrial scope of industrial Internet is large enough. The era of consumer Internet is only a limited existence in the Internet industry
[system analyst's road] Chapter V double disk software engineering (development model development method)
Delete duplicate elements in the ordered linked list -ii
对非ts/js文件模块进行类型扩充
Meibeer company is called "Manhattan Project", and its product name is related to the atomic bomb, which has caused dissatisfaction among Japanese netizens
基本远程连接工具Xshell
ROS2之ESP32简单速度消息测试(极限频率)
Assets, vulnerabilities, threats and events of the four elements of safe operation
How to convert Quanzhi a40i/t3 to can through SPI
【第29天】给定一个整数,请你求出它的因子数
按键精灵打怪学习-多线程后台坐标识别