Sample Header Ad - 728x90

How to build only one program in binutils

3 votes
1 answer
1126 views
Since there are many programs that are not related to my interests, I'd like to build a specific program in GNU binutils on Ubuntu. Program means that one binary file (e.g., ar, objcopy) for example, I'm interested in the ar among the ar, objdump, objcopy, readelf, ... What should I do for this? I've tried to remove other source code in binutils-version/binutils/Makefile But, Makefile still produced object files for all programs (Makefile also exists in binutils-version/) Give me a fresh idea to build one program, please.
Asked by wazz (31 rep)
Jun 26, 2020, 11:53 PM
Last activity: Jul 13, 2020, 09:01 PM