Solaris
文章平均质量分 53
一个手艺人
喜欢底层技术,平时主要使用C语言,也对汇编,Go,Bash有一定了解。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Socket programming tips in Solaris
I sponsored a topic in stackoverflow.com, and hoped the programmers can share the socket programming tips in different UNIX flavors. But unfortunately, the responders are few. So I can only share my原创 2014-03-08 12:41:02 · 1574 阅读 · 0 评论 -
Solaris操作系统网络编程经验分享
自从2010年我开始在Solaris操作系统进行应用程序开发起,到现在已经超过3年的时间了。我想把在Solaris操作系统上做网络编程开发的一些特有的经验分享出来,希望给别人有所帮助。经验1:原创 2013-11-16 19:02:30 · 2722 阅读 · 1 评论 -
An experience of fixing a memory-corruption bug (1)
During the last 4 months, I was disturbed by a memory-corruption bug, and this bug will cause program crash. Until last Monday, I found the root cause and fixed it. This debug process is a difficult b原创 2014-04-13 19:45:06 · 1294 阅读 · 0 评论 -
函数尾调用优化(Tail-call Optimization)对DTrace return probe的影响
今天这个话题要从stackoverflow上的原创 2014-05-02 19:18:26 · 1500 阅读 · 0 评论 -
Solaris搭建64位C语言开发环境
刚来公司时,公司的C程序还是32位的。后来我阅读了一些资料,觉得64位的程序才是真正的趋势,所以就开始尝试着开发64位的程序。这篇文章介绍如何在Solaris下搭建64位C语言开发环境,希望给需要的朋友一点帮助。(1)gccSolaris的/usr/sfw/bin/gcc可以用来编译64位C程序,但是需要加-m64编译选项。此外也可以从gcc的官网下载gcc源代码,自行编译安装,但是要注意原创 2014-02-15 15:58:29 · 1862 阅读 · 0 评论 -
在Solaris上编译redis(2.8.13)
最近由于原创 2014-07-15 17:08:56 · 2412 阅读 · 0 评论 -
为什么gcc在64位Solaris上编译出来的程序默认是32位的?
最近发现一个问题,gcc在原创 2014-08-31 16:50:08 · 1806 阅读 · 0 评论 -
tcpreplay(3.4版本)程序显示统计结果的一个问题
最近,我在Solaris系统上用tcpreplay程序(sunfreeware网站提供的3.4.4版本的安装包,目前sunfreeware已经不再提供免费的Solaris系统安装包下载了,但还是可以通过其它ftp下载到)辅助测试。发现tcpreplay输出是这样的:Actual: 400000 packets (78200000 bytes) sent in 18.03 seconds.原创 2014-09-28 14:46:36 · 1837 阅读 · 0 评论 -
在Solaris上使用LD_OPTIONS环境变量诊断编译链接问题
最近在Solaris上编译一款开源软件,在最后链接阶段出了问题,导致ld程序core dump。由于没有ld程序源代码,导致完全没思路,没办法,只好在stackoverflow上求教:http://stackoverflow.com/questions/26009192/why-the-ld-crash-in-building-libgd。从回复中我才知道可以通过设置LD_OPTIONS环境变原创 2014-10-10 21:56:14 · 1118 阅读 · 0 评论
分享