
gcc
cosmoslhf
这个作者很懒,什么都没留下…
展开
-
gcc编译 载录。。。。
1. 这两天在移植libhugetlbfs到2.6.36 for Loogson上,移植完成后需要测试linpack在大页面支持下的性能。但是却发现大页面对linpack无效,linpack死活不利用大页面。怎么回事?莫非linpack使用mmap接口分配内存?怎么这样呢~!于是今天分析了linpack源码,结果发现它里面的内存分配都是用malloc实现的。那为什么大页面支持会对其无效原创 2012-11-27 10:47:26 · 678 阅读 · 0 评论 -
fix android build error : undefined reference to __gxx_personality_v0 and __cxa_end_cleanup
在android 中移植一个库(该库 使用了 libstlport )时 产生如下错误:prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: obj/EXECUTAB原创 2012-11-29 16:43:04 · 3911 阅读 · 0 评论 -
template class build errors in android
在Android 中 ,如果一个模板类 A 继承与 模板类 B ,当A 引用B 的共有成员时, 如果不加 “this->” , 会产生“was not declared in this scope”错误例如:template typename T> struct B { int m; int n; int f (); int g (); }; int n; i原创 2012-12-01 18:12:31 · 626 阅读 · 0 评论 -
GCC 4.9 Release
GCC 4.9 Release SeriesChanges, New Features, and FixesCaveatsThe mudflap run time checker has been removed. The mudflap options remain, but do nothing.Support for a number of older syste转载 2014-12-03 09:45:59 · 1534 阅读 · 0 评论 -
gcc的原子操作接口
GCC 提供的原子操作gcc从4.1.2提供了__sync_*系列的built-in函数,用于提供加减和逻辑运算的原子操作。其声明如下:type __sync_fetch_and_add (type *ptr, type value, ...)type __sync_fetch_and_sub (type *ptr, type value, ...)type _转载 2015-01-13 18:10:55 · 950 阅读 · 0 评论 -
ARM Fundamentals: Introduction to understanding ARM processors
Finding one's way through references to ARM processors is not always obvious. This article is the first of a series on ARM fundamentals that will introduce various topics to help you get more famili转载 2015-01-14 17:01:41 · 1038 阅读 · 0 评论