我想跟踪linux内核kconfig设置中的依赖循环。
在使用gcc-6.3编译时,我可以不带任何问题地做以下工作:
$ make ARCH=powerpc custom_defconfig
$ make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu-
然而,如果我现在再试一次gcc-8.2的发行版,似乎有新的东西被触发。相反,我得到:
$ make ARCH=powerpc custom_defconfig
$ make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu-
GEN Makefile
我不能通过使用powerpc64-linux-gnu-gcc-10 build命令来构建cpp文件。我得到了错误powerpc64-linux-gnu-gcc-10: fatal error: cannot execute ‘cc1plus’: execvp: No such file or directory。
$ sudo apt-get install gcc-10-powerpc64-linux-gnu build-essential
Reading package lists... Done
Building dependency tree
Reading state
我正在尝试使用GDB进行调试(以找到一个恼人的分段错误)。当我跑步时:
gdb ./filename
在命令行中,我得到以下错误:
This GDB was configured as "i686-pc-linux-
gnu"..."/path/exec": not in executable
format: File format not recognized
当我执行:
file /path/executable/
我得到以下信息:
ELF 64-bit LSB executable, AMD x86-64,
version 1 (SYSV), for
我刚刚访问了一台功能强大的Minski IBM机器(Linux),并打算在它上运行一些go脚本。我已经看过很多版本的歌朗,试着在机器上安装和使用它们,但它们似乎都没有用。是否有一些特殊版本的GO,我需要它是专门设计的工作在这台强大的计算机。
我现在尝试安装了大约4或5个不同的版本,但仍然在继续:
The program 'go' is currently not installed. To run 'go' please ask your administrator to install the package 'golang-go'
我被告知,
我已经用PPC工具链建立了以下程序的可执行文件。
工具链详细信息: powerpc-wrs- Linux -gnu-g++ (Wind River Linux Sourcery G++ 4.4a-341) 4.4.1
我们在编译过程中包含了-pthread,在链接中包含了-lpthread。我们也在使用-lrt和-ldl标志。
#include <string>
#include <iostream>
#include <thread>
using namespace std;
// The function we want to execute on
我想给u-boot源代码打一个补丁,但是有些方法,Linux不让我这么做。我所拥有的:
reg@ubuntu:~/NextGen/trunk/FW/thirdparty/u-boot$ patch -p1 < ../u-boot/u-boot-2013.01-wr.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|di
看看,我希望能够安装datatable。我确实运行了一个运行python3.6的fedora 26发行版
statquant ~ python3
Python 3.6.4 (default, Mar 13 2018, 18:16:01)
[GCC 7.3.1 20180130 (Red Hat 7.3.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
当我尝试安装它时,我得到:
statquant
查看中的linux kernel powerpc syscall编号,有5个ABI:
The <abi> can be common, spu, nospu, 64, or 32 for this file.
common,32和64是显而易见的,但是什么是spu和nospu。这些是32位还是64位?
当交叉编译时,我得到:
checking whether the /home/ekhnshr/epb2/jenkbuild/toolchain/bin/powerpc-linux-gnu-g++ linker (/home/ekhnshr/epb2/jenkbuild/toolchain/bin/powerpc-linux-gnu-ld) supports shared libraries... no
checking dynamic linker characteristics... no
checking how to hardcode library paths into program
命令set arch <arch, e.g. arm, mips>用于设置gdb-multiarch以支持特定的体系结构。当指定set arch arm时,它响应The target architecture is assumed to be arm.而指定set arch powerpc,则响应Ambiguous item "powerpc".
什么是正确的方式来设置gdb-多重弓支持PowerPC?