binutils
How does gcc find as, ld and other binutils executables?
Is their location hardcoded into gcc code or does gcc just call as and we must have as location in our PATH variable?[详细]
2023-04-11 22:11 分类:问答Native toolchain issue on Macos 10.6.8 (Snow Leopard)
Below is the description of the issue. I marked it all as a code to avoid the implicit formatting that StackOverflow does.[详细]
2023-04-11 21:35 分类:问答How can I remove linked library from executable file
All. Someone created an executable file. # ldd test_bin libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x4082d000)[详细]
2023-04-07 16:14 分类:问答Linux ELF files: Which byte will differ for static and dynamic ELF programs?
I\'m working with linux elf files. I want to detect, if the given elf program is statically linked (full static link, ldd says \"not a dynamic executable\") or dynamically linked. The ELF is for embe[详细]
2023-04-03 00:07 分类:问答How to filter a lot of data with IPC::Open2?
My task is to fil开发者_Python百科ter some data from perl script with external utility(the addr2line). The data size is quite large. I need to print a lot of data to stdin of program and read a lot of[详细]
2023-04-02 14:51 分类:问答ar command line length
I have an extremely long command line given to ar (android ar exactly) by bjam,开发者_如何转开发 and ar just corrupts a file path and complains that file does not exist.[详细]
2023-03-30 02:18 分类:问答Injecting sections into GNU ld script; script compatibility between versions of binutils.
I\'m building something like in the question How to collect data from different .a files into one array? How to keep 开发者_如何学编程sections in .a files with ld script?, i.e. arrays composed during[详细]
2023-03-23 17:43 分类:问答Error in binutils make for cross compilation
I am trying to compile binutils to set up GNU toolchain for cross compiling for ARM on linux x86 architecture.[详细]
2023-03-19 22:17 分类:问答Why does the -r option (relocatable) make ld not find any libraries?
Running Debian/Linux x86_64 with GNU ld 2.21. Quite simply, if I link with ld -o main main.o /usr/lib/crti.o /usr/lib/crt1.o /usr/lib/crtn.o -lc -lm[详细]
2023-03-16 22:54 分类:问答Building binutils with debugging mode
I\'m trying to build binutils 2.21 source code with debugging on. My main aim is to debug objdump actually. But in order to build it I think I have to build whole package.[详细]
2023-03-15 18:13 分类:问答