-
大小: 77.13MB文件类型: .xz金币: 2下载: 1 次发布日期: 2023-01-23
- 语言: 其他
- 标签: 交叉编译 linaro arm-linux-gn
资源简介
交叉编译工具gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf,官网下载,可用
代码片段和文件信息
# -*- python -*-
# Copyright (C) 2009-2014 Free Software Foundation Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not see .
import sys
import gdb
import os
import os.path
pythondir = ‘/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu/share/gcc-4.9.4/python‘
libdir = ‘/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu/arm-linux-gnueabihf/lib‘
# This file might be loaded when there is no current objfile. This
# can happen if the user loads it manually. In this case we don‘t
# update sys.path; instead we just hope the user managed to do that
# beforehand.
if gdb.current_objfile () is not None:
# Update module path. We want to find the relative path from libdir
# to pythondir and then we want to apply that relative path to the
# directory holding the objfile with which this file is associated.
# This preserves relocatability of the gcc tree.
# Do a simple normalization that removes duplicate separators.
pythondir = os.path.normpath (pythondir)
libdir = os.path.normpath (libdir)
prefix = os.path.commonprefix ([libdir pythondir])
# In some bizarre configuration we might have found a match in the
# middle of a directory name.
if prefix[-1] != ‘/‘:
prefix = os.path.dirname (prefix) + ‘/‘
# Strip off the prefix.
pythondir = pythondir[len (prefix):]
libdir = libdir[len (prefix):]
# Compute the “..“s needed to get from libdir to the prefix.
dotdots = (‘..‘ + os.sep) * len (libdir.split (os.sep))
objfile = gdb.current_objfile ().filename
dir_ = os.path.join (os.path.dirname (objfile) dotdots pythondir)
if not dir_ in sys.path:
sys.path.insert(0 dir_)
# Load the pretty-printers.
from libstdcxx.v6.printers import register_libstdcxx_printers
register_libstdcxx_printers (gdb.current_objfile ())
相关资源
- opencv3.0交叉编译用parallel.cpp
- 安卓交叉编译ffmepgx86_64版本
- ffmepg的安卓arm(armeabi-v7a)版本
- 搭建OMAPL138的Linux开发环境 LINUX交叉编
- mingw-w64-v7.0.0.tar.bz2
- opencv交叉编译过程中boostdesc_bgm.i等一
- Linux下QT及OpenCV搭建
- cygwin 交叉编译的 coturn 服务器可以在
- arm版opencv-2.4.9
- opencv3.2交叉编译出来的库文件
- nios2gcc.tar.bz2
- paho.mqtt.c 树莓派交叉编译版本SDK
- Zedboard_linaro
- zbar-0.10[20190711].tar.gz内含交叉编译配置
- linaro-precise-ubuntu-desktop-20121124-560.tar
- opencv3.2交叉编译移植笔记
- arm-linux-gcc-4.3.2.tgz
- arm-linux-gcc-3.4.5
- arm-linux-gcc-4.3.2.tgz-02
- gcc-4.6.4.tar.xz fs4412交叉编译工具链
- 交叉编译QT5.6
- 交叉编译工具链cross-3.3.2.tar.bz2_part1
- arm-cortex_a8-linux-gnueabi-4.7.3.tar.bz2
- arm-linux-gcc-4.4.3
- gcc-linaro-6.3.1-2017.02-x86_64_aarch64-linux-
- arm-linux-gcc交叉编译器安装包及详细安
- arm-linux-gcc的glibc库
- arm-linux-gcc-3.4.1.tar.bz2
- arm-linux-gcc-4.4.3.tar.gz文件
- 用4.3.2交叉编译好的opencv2.4.9所需依赖
评论
共有 条评论