projects
/
dev-env-setup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
95e4fb4
)
Removed HOST variable and --host option to configure
author
R Veera Kumar
<vklr@vkten.in>
Sat, 11 Jun 2022 06:51:11 +0000
(12:21 +0530)
committer
R Veera Kumar
<vklr@vkten.in>
Sat, 11 Jun 2022 06:51:11 +0000
(12:21 +0530)
binutils-gdb-install
patch
|
blob
|
history
diff --git
a/binutils-gdb-install
b/binutils-gdb-install
index 7e645f4d8d0defcbaebd3df250c601c4d63aafae..d84b88f95655ff4b56270f719e0c000e46c93991 100755
(executable)
--- a/
binutils-gdb-install
+++ b/
binutils-gdb-install
@@
-26,22
+26,14
@@
fi
## Build binutils-gdb
## Build binutils-gdb
-# Set HOST triplet
-
-if [ "`arch`" = "x86_64" ]; then
- export HOST="x86_64-pc-linux-gnu"
-elif [ "`arch`" = "ppc64le" ]; then
- export HOST="powerpc64le-linux-gnu"
-fi
-
cd binutils-gdb
git checkout svp64
mkdir ../binutils-gdb-build
cd ../binutils-gdb-build
AR=ar AS=as ../binutils-gdb/configure --prefix=/usr/local/binutils-gdb \
cd binutils-gdb
git checkout svp64
mkdir ../binutils-gdb-build
cd ../binutils-gdb-build
AR=ar AS=as ../binutils-gdb/configure --prefix=/usr/local/binutils-gdb \
-
--host=${HOST}
--target=powerpc64le-linux-gnu --disable-nls --enable-shared \
---enable-64-bit-bfd --disable-multilib --enable-ld=default --enable-gold=yes \
---enable-plugins --enable-threads
+ --target=powerpc64le-linux-gnu --disable-nls --enable-shared \
+
--enable-64-bit-bfd --disable-multilib --enable-ld=default --enable-gold=yes \
+
--enable-plugins --enable-threads
make -j$(nproc)
# make check |& tee chk.log
make install
make -j$(nproc)
# make check |& tee chk.log
make install