binutils-gdb | Unofficial mirror of sourceware binutils | User Interface library
kandi X-RAY | binutils-gdb Summary
kandi X-RAY | binutils-gdb Summary
This directory contains various GNU compilers, assemblers, linkers, debuggers, etc., plus their support routines, definitions, and documentation. If you are receiving this as part of a GDB release, see the file gdb/README. If with a binutils release, see binutils/README; if with a libg++ release, see libg++/README, etc. That'll give you info about this package -- supported targets, how to use it, how to report bugs, etc.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of binutils-gdb
binutils-gdb Key Features
binutils-gdb Examples and Code Snippets
Community Discussions
Trending Discussions on binutils-gdb
QUESTION
I cloned binutils-gdb
repository from here (master branch) on a linux machine (Ubuntu) and I want to compile it for Windows (using x86_64_w64_mingw32
toolchain).
First, I ran ./configure
with the following options to specify the cross-compile toolchain.
ANSWER
Answered 2021-Apr-08 at 14:12This is because you are building the current, non-release,development version - I got the exact same error while building from the latest git revision at the time I cloned the repository, 0a703a4cedffa6f3824e87f115e8d392e32de191
.
If you really want to build from the development tree, you will have to wait for the issue to be fixed, or to fix it by yourself - this is not being addressed in this answer.
But if building the latest released version, 2.36.1, is sufficient, the procedure hereafter will work (tested on Ubuntu 20.04 TLS):
QUESTION
I'm trying to compile the binutils for the i686-elf target according to this tutorial:
I just added the --enable-tui
option, so that I have the support in the gdb.
I did the following:
...ANSWER
Answered 2021-Jan-03 at 01:39You're cross-compiling to a different architecture (i686-elf
) than whatever you're running on—the $TARGET
mentioned in the question. gdb will have to be linked with libraries which are built for that architecture.
Debian provides ncurses packages which run on the current architecture, but does not provide a suitable package for the cross-compiled application. So you get to do this for yourself.
When cross-compiling ncurses, you'll have to keep in mind that part of it builds/runs on the current architecture (to generate source-files for compiling by the cross-compiler). That's defined in the environment as $BUILD_CC
(rather than $CC
), as you might see when reading the script for the mingw cross-compiling. There's a section in the INSTALL
file (in the ncurses sources) which outlines the process.
There's no tutorial (that would be off-topic here anyway), but others have read the instructions and cross-compiled ncurses as evidenced by a recent bug report.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install binutils-gdb
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page