惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
T
Tenable Blog
Webroot Blog
Webroot Blog
L
Lohrmann on Cybersecurity
S
Securelist
S
Schneier on Security
NISL@THU
NISL@THU
Know Your Adversary
Know Your Adversary
C
Cybersecurity and Infrastructure Security Agency CISA
T
The Exploit Database - CXSecurity.com
L
LINUX DO - 热门话题
C
CXSECURITY Database RSS Feed - CXSecurity.com
O
OpenAI News
I
Intezer
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
TaoSecurity Blog
TaoSecurity Blog
S
Secure Thoughts
Application and Cybersecurity Blog
Application and Cybersecurity Blog
P
Privacy International News Feed
H
Hacker News: Front Page
N
Netflix TechBlog - Medium
M
MIT News - Artificial intelligence
博客园 - Franky
PCI Perspectives
PCI Perspectives
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Microsoft Azure Blog
Microsoft Azure Blog
MongoDB | Blog
MongoDB | Blog
L
LangChain Blog
P
Proofpoint News Feed
S
Security Affairs
WordPress大学
WordPress大学
The Last Watchdog
The Last Watchdog
S
SegmentFault 最新的问题
小众软件
小众软件
F
Full Disclosure
博客园 - 叶小钗
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
T
The Blog of Author Tim Ferriss
Simon Willison's Weblog
Simon Willison's Weblog
P
Palo Alto Networks Blog
Security Latest
Security Latest
P
Proofpoint News Feed
月光博客
月光博客
T
Tailwind CSS Blog
Scott Helme
Scott Helme
Hacker News - Newest:
Hacker News - Newest: "LLM"
Google Online Security Blog
Google Online Security Blog
T
Threat Research - Cisco Blogs
Help Net Security
Help Net Security
Project Zero
Project Zero

博客园 - Bang

(基于Java)编写编译器和解释器-第11章:解析程序、过程和函数-第二部分 (基于Java)编写编译器和解释器-第11章:解析程序、过程和函数-第一部分 (基于Java)编写编译器和解释器-第10章:类型检查-第二部分 install Wireless driver on OpenSuse 12.2 (基于Java)编写编译器和解释器-第10章:类型检查-第一部分 (基于Java)编写编译器和解释器-第9章:解析声明-第三部分(连载) 自动化运维体系下的Agent概念,场景及实现 将Java封装成Windows Service并添加启动托盘(Tray) (基于Java)编写编译器和解释器-第9章:解析声明-第二部分(连载) (基于Java)编写编译器和解释器-第9章:解析声明-第一部分(连载) (基于Java)编写编译器和解释器-第8A章:基于Antlr解析&解释执行Pascal控制语句(连载) (基于Java)编写编译器和解释器-第8章:解释Pascal控制语句(连载) (基于Java)编写编译器和解释器-第7章:解析(Parsing)控制语句-第二部分(连载) (基于Java)编写编译器和解释器-第7章:解析(Parsing)控制语句-第一部分(连载) (基于Java)编写编译器和解释器-第6章:解释执行表达式和赋值语句(连载) (基于Java)编写编译器和解释器-第5A章:基于Antlr解析表达式和赋值语句及计算(连载) (基于Java)编写编译器和解释器-第5章:解析表达式和赋值语句-第二部分(连载) (基于Java)编写编译器和解释器-第5章:解析表达式和赋值语句-第一部分(连载) (基于Java)编写编译器和解释器-第4章:符号表(连载)
在Windows使用VC编译ICU
Bang · 2013-12-31 · via 博客园 - Bang

1 编译过程在Cygwin下进行,所以必须得安装Cygwin,并且加上Automake, autoconf, make, ar等选项

2 打开命令行窗口,设置环境变量,主要是可以启动cygwin的bash window,调用make,  install等

set path=c:\cygwin\bin;%path%

dos2unix *

dos2unix -f configure

3 设置MSVC的环境,调用Visual Studio安装目录下Common7\tools\vsvars32.bat,如果要编译32位,使用x86作为第一个参数,其它参数可以参考bat源文件

“C:\Program Files\Microsoft Visual Studio 12.0\Common7\Tools\vsvars32.bat” x86

4 调用ICU的配置脚本,生成make配置

bash runConfigureICU Cygwin/MSVC —prefix=/cygdrive/c/icu/dist —enable-static —disable=shared

红色的配置可以参考runConfigureICU源代码里的列表

5 调用make, make install执行build和安装

6 编译完成之后,在—prefix指定的目录下会有四个icu的子目录 bin, include, lib, shared, 也就是ICU_HOME,那么在build boost的时候就可以使用-sICU_PATH=...来指定了。