ChinaUnix.net
相关文章推荐:

gdb mips compile

安装了mipsel-linux-gcc(2.7-3), gcc 3.4.2 $mipsel-linux-gcc add.c bash: /usr/local/bin/mipsel-linux-gcc: /lib/ld-linux.so.1: bad ELF interpreter: 没有那个文件或目录 看了一下,机器上只有/lib/ld-linux.so.2 , 哪位达人知道如何做才能成功编译?

by negative - 内核/嵌入技术 - 2004-11-26 16:15:45 阅读(1059) 回复(2)

相关讨论

安装了mipsel-linux-gcc(2.7-3), gcc 3.4.2 $mipsel-linux-gcc add.c bash: /usr/local/bin/mipsel-linux-gcc: /lib/ld-linux.so.1: bad ELF interpreter: 没有那个文件或目录 看了一下,机器上只有/lib/ld-linux.so.2 , 哪位达人知道如何做才能成功编译?

by negative - 内核源码 - 2004-11-26 16:15:45 阅读(1617) 回复(2)

--host=i686-pc-linux-gnu --target=mips-linux 大端 若要小端 则是 'mipsel' info registers 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/36660/showart_695895.html

by wuxb45 - Linux文档专区 - 2008-05-20 15:20:00 阅读(1375) 回复(0)

我先在目标板上运行gdbserver: 目标板的IP是:192.168.2.210 /tmp # ./gdbserver :3456 mini_snmpd Process mini_snmpd created; pid = 297 Listening on port 3456 然后我在PC上运行gdb $ /opt/mips-gdb/bin/mips-linux-uclibc-gdb mini_snmpd GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you ar...

by 灰菲湮灭 - C/C++ - 2010-05-27 13:03:50 阅读(2369) 回复(3)

UNIX是以C语言写成的。使用C语言的其中一个优点是造成了UNIX的可携性。 另一方面,工作站的销售对象是需要大量计算的工程师、科学家等等;因此不同 於PC,在工作站级以上的电脑上,compiler是一项附在作业系统中的基本配备。 UNIX系统中必定附有C compiler。既然要保持可携性, UNIX系统里面所附的的C compiler也得和UNIX系统一样,用C写作。 C compiler本身,也是用C写的。当一个语言的compiler 也用该语言本身来 写的时候, ...

by w1_xiao - SCO文档中心 - 2009-08-15 16:57:08 阅读(1660) 回复(0)

我的板子为mips的,gdb的交叉编译后的mips-linux-gdb也出来了。但是运行总是有问题,不知道哪位大虾能帮忙看一下,万分感谢!!! 下面我的执行过程: 1. mips-linux-gcc -g gdbtest.c -o gdbtest 产生gdbtest gdbtest.gdb 2. 拷贝到板子上 gdbserver 192.168.96.80:2345 gdbtest 出现:Process gdbtest created; pid = 32 Listening on port 2345 3. 在linux端: mips-linux-gdb gdbtest.gdb ...

by tornadolyt - 嵌入式开发 - 2007-11-29 09:30:56 阅读(3789) 回复(0)

本帖最后由 smalloc 于 2011-12-13 16:09 编辑 :em17: gdb里的objdump 直接编译出来吗?

by smalloc - C/C++ - 2012-01-31 21:25:32 阅读(1888) 回复(4)

见下表: 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/65427/showart_702299.html

by ramen.sh - Linux文档专区 - 2008-05-23 13:43:40 阅读(2337) 回复(0)

本帖最后由 yshihyu 于 2013-08-10 04:00 编辑 [code]/* This is a simple module used for showing How to use Ftrace to trace your driver. ----------------------------------------------------- Function: you can "echo your_data > /sys/kernel/kobj4ftrace/data" This module will divide 24 with 'your_data' and store the result in /sys/kernel/kobj4ftrace/data. To ch...

by yshihyu - 驱动开发 - 2013-08-10 04:57:01 阅读(800) 回复(3)

http://blog.csdn.net/joshua_yu/archive/2006/02/03/591455.aspx 一、简介 作为最基本的编程语言之一,汇编语言虽然应用的范围不算很广,但重要性却勿庸置疑,因为它能够完成许多其它语言所无法完成的功能。就拿 Linux 内核来讲,虽然绝大部分代码是用 C 语言编写的,但仍然不可避免地在某些关键地方使用了汇编代码,其中主要是在 Linux 的启动部分。由于这部分代码与硬件的关系非常密切,即使是 C 语言也会有些力不从心,而汇编语...

by gxy_0202 - Linux文档专区 - 2008-09-17 18:29:58 阅读(524) 回复(0)

Kernel compile I want to do it under fedora7, because I have failed to make .ko files. I learn it from the README in kernel source tree that the source in /usr/src/..is incomplete, which maybe the reason that are responsible for the failure of ko files build. I do it with the help of readme, and find out that you have to make some change when you do #make menuconfig, then the system will ask if yo...

by happypeter - Linux文档专区 - 2008-03-04 23:08:04 阅读(533) 回复(0)