c - What configure options were used when building binutils? -
i have version of binutils compiled someone. need recompile new binutils same options.
i know gcc -v
prints out configuration options. maybe there way read build options binutils
?
i found support platforms , binutils version can check with:
#ld -v
gnu ld (gnu binutils ubuntu) 2.22 supported emulations: elf_x86_64 elf32_x86_64 elf_i386 i386linux elf_l1om elf_k1om
so ld -v
shows should use in --enable-targets
.
i didn't found way options tried , check , current set of options:
./configure --prefix=/opt/dev-tools-4.9 \ --exec-prefix=/opt/dev-tools-4.9 \ --with-sysroot=/ --enable-multilib \ --with-lib-path=/opt/dev-tools-4.9/lib \ --disable-werror --enable-shared \ --with-pkgversion="gnu binutils ubuntu" \ --enable-targets=x86_64-linux-gnu,i686-linux-gnu,x86_64-pc-mingw32,i686-pc-mingw32 make -j $(nproc || grep -c ^processor /proc/cpuinfo|| echo "1") && \ make install
Comments
Post a Comment