随笔分类 -  Compiling

Systemtap: learning notes
摘要:Before using stap, the kernel-debuginfo-$(uname -r), kernel-debuginfo-common-$(uname -m)-$(uname -r) and kernel-devel-$(uname -r) should be installed. 阅读全文

posted @ 2018-07-15 18:48 三叁 阅读(283) 评论(0) 推荐(0)

golang: impressed by its cross compiling possibilities
摘要:However till now golang's debug functionality seems far from okay. During debug you cannot print map objects. And also from debugging related aspects, 阅读全文

posted @ 2018-07-08 07:48 三叁 阅读(125) 评论(0) 推荐(0)

Crossbuild: with crosstool-ng
摘要:Before preceding, several things need to be checked: There are too many tutorials on how to build with ct-ng, I only list several useful steps for fut 阅读全文

posted @ 2018-07-04 06:35 三叁 阅读(308) 评论(0) 推荐(0)

GNU Autoconf: Intro
摘要:some frequently used AC macros: AC_INIT :must AC_OUTPUT :must AC_PREREQ :determine ac version so that needed features are included AC_CONFIG_SRCDIR :d 阅读全文

posted @ 2018-03-06 11:58 三叁 阅读(263) 评论(0) 推荐(0)

C: release & debug differences (might apply to all programming languages)
摘要:Sometimes we build a program as release and when debugging, some variables cannot be printed out, and displayed as optimized out. That is because the 阅读全文

posted @ 2017-12-21 20:12 三叁 阅读(172) 评论(0) 推荐(0)

Cygwin/mingw: Intro & Diffs & Notes
摘要:Firstly, compile something with cygwin is to compile something for cygwin1.dll, compile something with mingw is compile something for windows. Here li 阅读全文

posted @ 2017-11-30 21:00 三叁 阅读(147) 评论(0) 推荐(0)

net-snmp: introduction
摘要:SNMP is a protocol that enables server remote-info-exchange. Which according to wikipedia: it [collecting and organizing information about managed dev 阅读全文

posted @ 2017-10-09 18:11 三叁 阅读(468) 评论(0) 推荐(0)

Haskell: install from source
摘要:First we need to determine the version of ghc to be installed. Newest version not always good. Since we are going to install ghc-mod as final destinat 阅读全文

posted @ 2017-09-22 12:07 三叁 阅读(301) 评论(0) 推荐(0)

GNU make: Learning notes
摘要:before talking about Makefiles, compilers are important pre-knowledge. first compile a executable ELF file, by: if we are going to compile one/several 阅读全文

posted @ 2017-04-12 15:22 三叁 阅读(180) 评论(0) 推荐(0)

Maven: Usage
摘要:Maven, is actually a java project manager.. Installing maven in windows need to set system environment vars like JAVA_HOME and PATH.. And it is rather 阅读全文

posted @ 2017-03-19 21:07 三叁 阅读(300) 评论(0) 推荐(0)

Compile Time Assertion..
摘要:The most seen assertion are during runtime, but this one is at compile time, to give the error more quickly.. I do not quite understand why need this 阅读全文

posted @ 2016-08-30 14:53 三叁 阅读(444) 评论(0) 推荐(0)

GRPC: set up..
摘要:get the grpc source file.. compile the helloworld example.. is easy.. the most important is to write the server/client side .go files and one message/ 阅读全文

posted @ 2016-08-14 22:17 三叁 阅读(295) 评论(0) 推荐(0)

ABI & API
摘要:API defines the programning language and function entry point, arguments type, order. ABI defines the programming compiled version to be according to 阅读全文

posted @ 2016-08-05 17:49 三叁 阅读(178) 评论(0) 推荐(0)

GCC: compilation process..
摘要:gcc -I -L -l -D -g -O -o -Wall about the -0 option.. ref to the following table.. Set the compiler's optimization level. +increase ++increase more +++ 阅读全文

posted @ 2016-08-04 20:07 三叁 阅读(315) 评论(0) 推荐(0)

Setting DPDK+OVS+QEMU on CentOS
摘要:Environment Build Step: these packages are needed for building dpdk+ovs: First download latest dpdk & ovs :http://dpdk.org/download git clone https:// 阅读全文

posted @ 2016-07-10 13:22 三叁 阅读(1804) 评论(0) 推荐(1)

Notes over compiling..
摘要:When compiling VIM on windows, using nmake may be a better choice.. Because so far my attempts to compile VIM using mingw32/mingw-w64/make+gcc failed 阅读全文

posted @ 2016-05-12 10:47 三叁 阅读(230) 评论(1) 推荐(0)

导航