Chinaunix首页 | 论坛 | 博客
  • 博客访问: 720567
  • 博文数量: 161
  • 博客积分: 2998
  • 博客等级: 少校
  • 技术积分: 1697
  • 用 户 组: 普通用户
  • 注册时间: 2010-10-28 09:39
文章分类

全部博文(161)

文章存档

2012年(6)

2011年(120)

2010年(35)

分类: LINUX

2012-08-10 23:20:19

Download r11845_mips.diff at:

 

and apply it per the instructions:

****************************************************************************

If you want to apply the patch and build Valgrind natively, here are brief

instructions:

 

$ svn export -r 11845 svn://

$ cd trunk

$ patch -p0 < ../r11845_mips.diff

$ ./autogen.sh

$ ./configure

$ make

$ make install

 

You can also use the cross-toolchain, if you prefer it.

 

Additional configure options:

./configure –host=mipsel-linux-gnu –prefix=

[--with-pagesize=<4|16|64>]

 

* –host=mips-linux-gnu is necessary only if Valgrind is built on platform

other then MIPS, tools for building MIPS application have to be in PATH.

 

* –with-pagesize option is used to set default PAGE SIZE. If option is not

used, PAGE SIZE is set to value default for platform where Valgrind is

built. Possible values are 4, 16 of 64 and represents size in kilobytes.

 

* –host=mips-linux-gnu is necessary if you compile it with cross toolchain

compiler for big endian platform.

 

* –host=mipsel-linux-gnu is necessary if you compile it with cross toolchain

compiler for litle endian platform.

 

* If you are compiling Valgrind with gcc version older then gcc (GCC) 4.5.1

you must specify CFLAGS=”-mips32r2 -mplt”, e.g.

./configure –prefix=

CFLAGS=”-mips32r2 -mplt”

****************************************************************************

 

So, for configure you can use ./configure –host=mips-linux-gnu

You need to have CodeSourcery toolchain, you can not use uclibc toolchain, You can get it at:

 
Thanks Petar Jovanovic for his support.

阅读(2864) | 评论(1) | 转发(0) |
0

上一篇:robocopy 简介

下一篇:记录

给主人留下些什么吧!~~

pybmsk2012-11-03 16:49:28

PTC Creo 2.0 M010 Full Multilanguage WinALL-ISO 2DVD

PTC Creo/Illustrate (ex PTC IsoDraw) 2.0 WinALL-ISO 1DVD

PTC Creo Schematics (ex Routed Systems Designer) 2.0 M010-ISO 1CD

PTC Pro/E WildFire+Pro/Mechancia v6.0 Alpha Win32-ISO 3CD

PTC Creo Elements/Pro 5.0 M070 Working for Win32-ISO 1DVD(最新多语言正式版包括简、繁体中文)

PTC Creo Elements/Pro 5.0 M070 Working for Win64-ISO 1DVD

PTC Creo Elements View (ex Product View) v