https://sourceware.org/bugzilla/show_bug.cgi?id=18908
Bug ID: 18908
Summary: how to avoid x86_64-unknown-linux-gnu
Product: binutils
Version: 2.25
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: linuxcbon at gmail dot com
Target Milestone: ---
how to reproduce
~ # tar -xvf binutils-2.25.1.tar.bz2
~ # cd binutils-2.25.1/
~/binutils-2.25.1 # ./configure --prefix=/usr
~/binutils-2.25.1 # make
~/binutils-2.25.1 # make install
it creates a folder /usr/x86_64-unknown-linux-gnu ?
I dont want that
I want the target I am already using : --target=x86_64-t2-linux-gnu
make distclean
./configure --prefix=/usr --target=x86_64-t2-linux-gnu
result :
~/binutils-2.25.1 # make
make[1]: Entering directory '/root/binutils-2.25.1'
Configuring in ./libiberty
configure: loading cache ./config.cache
configure: error: `target_alias' has changed since the previous run:
configure: former value: `x86_64-unknown-linux-gnu'
configure: current value: `x86_64-t2-linux-gnu'
configure: error: in `/root/binutils-2.25.1/libiberty':
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ./config.cache' and start
over
Makefile:7990: recipe for target 'configure-libiberty' failed
make[1]: *** [configure-libiberty] Error 1
make[1]: Leaving directory '/root/binutils-2.25.1'
Makefile:832: recipe for target 'all' failed
make: *** [all] Error 2
I already did a "make distclean" and it doesnt work...
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils